git.iko.soy/typeable/nixpkgs
on master help sign in
linux/kernel: enable automatic cpu hotplug support
commit3d1905e3f5d8cf79928f02300a007cb492369b97 authorAaron Andersen <aaron@fosslib.net> dateMon 22 Jul 2019, 13:22 (7 years ago) parent0c9acb1
1 file changed+4−2
pkgs/os-specific/linux/kernel/common-config.nix+4−2
pkgs/os-specific/linux/kernel/common-config.nix+4−2
@@ -699,11 +699,13 @@ let
699699 PREEMPT_VOLUNTARY = yes;
700700
701701 } // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
702− # Enable memory hotplug support
703− # Allows you to dynamically add & remove memory to a VM client running NixOS without requiring a reboot
702+ # Enable CPU/memory hotplug support
703+ # Allows you to dynamically add & remove CPUs/memory to a VM client running NixOS without requiring a reboot
704+ ACPI_HOTPLUG_CPU = yes;
704705 ACPI_HOTPLUG_MEMORY = yes;
705706 MEMORY_HOTPLUG = yes;
706707 MEMORY_HOTREMOVE = yes;
708+ HOTPLUG_CPU = yes;
707709 MIGRATION = yes;
708710 SPARSEMEM = yes;
709711