Use udev rules to set the CPU online. For memory, we let the kernel bring memory online automatically. This is preferred as udev rule processing might be delayed in a low memory situation, see: https://lwn.net/Articles/668944/
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
CONFIG_EFI_STUB=y
|
CONFIG_EFI_STUB=y
|
||||||
|
|
||||||
|
CONFIG_HOTPLUG_CPU=y
|
||||||
|
CONFIG_MEMORY_HOTPLUG=y
|
||||||
|
CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE=y
|
||||||
|
CONFIG_MEMORY_HOTREMOVE=y
|
||||||
|
|
||||||
CONFIG_VMXNET3=y
|
CONFIG_VMXNET3=y
|
||||||
CONFIG_VMWARE_PVSCSI=y
|
CONFIG_VMWARE_PVSCSI=y
|
||||||
CONFIG_VMWARE_VMCI_VSOCKETS=y
|
CONFIG_VMWARE_VMCI_VSOCKETS=y
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}="1"
|
||||||
Reference in New Issue
Block a user