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

Nathan Lynch nathanl at linux.ibm.com
Fri Sep 13 01:39:45 AEST 2019


"Gautham R. Shenoy" <ego at 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'?


More information about the Linuxppc-dev mailing list