mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
cpuplugd: Allow cpu hotplugging on systems without polarization
Cpuplugd checks for system polarization before adjusting cpu hotplug states. Currently, if the sysfs attribute for polarization is not present cpuplugd does not make any adjustments. Add a new polarization type PLR_NONE to reflect systems with no polarization state and allow cpuplugd to adjust cpu hotplugging. Signed-off-by: Mete Durlu <meted@linux.ibm.com> Reviewed-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#define CPUSTATS 10
|
||||
#define PLR_HORIZONTAL 0
|
||||
#define PLR_VERTICAL 1
|
||||
#define PLR_NONE 2
|
||||
|
||||
/*
|
||||
* Precedence of C operators
|
||||
|
||||
Reference in New Issue
Block a user