linux/kernel: enable automatic cpu hotplug support
This commit is contained in:
parent
0c9acb1926
commit
3d1905e3f5
@ -699,11 +699,13 @@ let
|
|||||||
PREEMPT_VOLUNTARY = yes;
|
PREEMPT_VOLUNTARY = yes;
|
||||||
|
|
||||||
} // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
|
} // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
|
||||||
# Enable memory hotplug support
|
# Enable CPU/memory hotplug support
|
||||||
# Allows you to dynamically add & remove memory to a VM client running NixOS without requiring a reboot
|
# Allows you to dynamically add & remove CPUs/memory to a VM client running NixOS without requiring a reboot
|
||||||
|
ACPI_HOTPLUG_CPU = yes;
|
||||||
ACPI_HOTPLUG_MEMORY = yes;
|
ACPI_HOTPLUG_MEMORY = yes;
|
||||||
MEMORY_HOTPLUG = yes;
|
MEMORY_HOTPLUG = yes;
|
||||||
MEMORY_HOTREMOVE = yes;
|
MEMORY_HOTREMOVE = yes;
|
||||||
|
HOTPLUG_CPU = yes;
|
||||||
MIGRATION = yes;
|
MIGRATION = yes;
|
||||||
SPARSEMEM = yes;
|
SPARSEMEM = yes;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user