diff options
author | Linus Heckemann <git@sphalerite.org> | 2019-05-08 19:42:24 +0200 |
---|---|---|
committer | Linus Heckemann <git@sphalerite.org> | 2019-05-08 19:42:24 +0200 |
commit | e4c269813c7a41b7b6e3b615a9cb68b2972b4fb5 (patch) | |
tree | 1a4796870eea9a5eaab27620c2173eeb7c07fadd /pkgs/os-specific/linux/kernel/common-config.nix | |
parent | ac6337058a14a6a4bb9f356a757d310415b0e40c (diff) | |
download | nixpkgs-e4c269813c7a41b7b6e3b615a9cb68b2972b4fb5.tar nixpkgs-e4c269813c7a41b7b6e3b615a9cb68b2972b4fb5.tar.gz nixpkgs-e4c269813c7a41b7b6e3b615a9cb68b2972b4fb5.tar.bz2 nixpkgs-e4c269813c7a41b7b6e3b615a9cb68b2972b4fb5.tar.lz nixpkgs-e4c269813c7a41b7b6e3b615a9cb68b2972b4fb5.tar.xz nixpkgs-e4c269813c7a41b7b6e3b615a9cb68b2972b4fb5.tar.zst nixpkgs-e4c269813c7a41b7b6e3b615a9cb68b2972b4fb5.zip |
kernel/common-config: PREEMPT -> PREEMPT_VOLUNTARY
Diffstat (limited to 'pkgs/os-specific/linux/kernel/common-config.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 75bd0109300..1d2d84ad6c6 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -686,6 +686,9 @@ let # Enable AMD's ROCm GPU compute stack HSA_AMD = whenAtLeast "4.20" yes; + PREEMPT = no; + PREEMPT_VOLUNTARY = yes; + } // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") { # Enable memory hotplug support # Allows you to dynamically add & remove memory to a VM client running NixOS without requiring a reboot |