Re: [PATCH 0/2] pseries/hotplug: Change the default behaviour of cede_offline

Nathan Lynch
2019-09-12T15:40:03Z

"Gautham R. Shenoy" <ego@linux.vnet.ibm.com> writes:
> The patchset also defines a new sysfs attribute
> "/sys/device/system/cpu/cede_offline_enabled" on PSeries Linux guests
> to allow userspace programs to change the state into which the
> offlined CPU need to be put to at runtime.

A boolean sysfs interface will become awkward if we need to add another
mode in the future.

What do you think about naming the attribute something like
'offline_mode', with the possible values 'extended-cede' and
'rtas-stopped'?