mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
linux: enable RCU_LAZY where supported
Supposed to save some power at idle.
This commit is contained in:
parent
c99afe4b0c
commit
d6db303160
@ -77,6 +77,10 @@ let
|
||||
ACPI_APEI = (option yes);
|
||||
# APEI Generic Hardware Error Source
|
||||
ACPI_APEI_GHES = (option yes);
|
||||
|
||||
# Enable lazy RCUs for power savings:
|
||||
# https://lore.kernel.org/rcu/20221019225138.GA2499943@paulmck-ThinkPad-P17-Gen-1/
|
||||
RCU_LAZY = whenAtLeast "6.2" yes;
|
||||
} // optionalAttrs (stdenv.hostPlatform.isx86) {
|
||||
INTEL_IDLE = yes;
|
||||
INTEL_RAPL = whenAtLeast "5.3" module;
|
||||
|
Loading…
Reference in New Issue
Block a user