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

From: Nathan Lynch
Date: Thu Sep 12 2019 - 11:40:03 EST


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