Merge pull request #61162 from lheckemann/kernel-preempt-voluntary
Kernel config: use PREEMPT_VOLUNTARY
This commit is contained in:
commit
1d37727453
|
@ -548,7 +548,9 @@ let
|
||||||
TEST_ASYNC_DRIVER_PROBE = option no;
|
TEST_ASYNC_DRIVER_PROBE = option no;
|
||||||
WW_MUTEX_SELFTEST = option no;
|
WW_MUTEX_SELFTEST = option no;
|
||||||
XZ_DEC_TEST = option no;
|
XZ_DEC_TEST = option no;
|
||||||
} // optionalAttrs (features.criu or false) ({
|
};
|
||||||
|
|
||||||
|
criu = optionalAttrs (features.criu or false) ({
|
||||||
EXPERT = yes;
|
EXPERT = yes;
|
||||||
CHECKPOINT_RESTORE = yes;
|
CHECKPOINT_RESTORE = yes;
|
||||||
} // optionalAttrs (features.criu_revert_expert or true) {
|
} // optionalAttrs (features.criu_revert_expert or true) {
|
||||||
|
@ -690,6 +692,9 @@ let
|
||||||
# Enable AMD's ROCm GPU compute stack
|
# Enable AMD's ROCm GPU compute stack
|
||||||
HSA_AMD = whenAtLeast "4.20" yes;
|
HSA_AMD = whenAtLeast "4.20" yes;
|
||||||
|
|
||||||
|
PREEMPT = no;
|
||||||
|
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 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 memory to a VM client running NixOS without requiring a reboot
|
||||||
|
|
Loading…
Reference in New Issue