git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #65273 from aanderse/automatic-hotplug

linux/kernel: enable automatic cpu hotplug support

commit94aea769f0e93862501542d588d9fffd318ad1a2 authorPeter Hoeg <peter@hoeg.com> dateTue 23 Jul 2019, 23:10 (7 years ago) parent01422523d1905e
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