diff options
| author | Artturi <Artturin@artturin.com> | 2023-03-04 14:55:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-04 14:55:15 +0200 |
| commit | 3d7920603f017f0a9c9dab98eebc8a8c38a3f938 (patch) | |
| tree | c75f219ffcf9c7636c2222ff5a4baf1af0b1c829 | |
| parent | Merge pull request #219475 from NixOS/backport-219467-to-release-22.11 (diff) | |
| parent | linux: enable Multi-Gen LRU by default (diff) | |
| download | nixpkgs-3d7920603f017f0a9c9dab98eebc8a8c38a3f938.tar.gz | |
Merge pull request #218420 from mweinelt/22.11/mglru
| -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 b3cd95e04ded..7942d2876cd8 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -943,6 +943,9 @@ let SCHED_CORE = whenAtLeast "5.14" yes; + LRU_GEN = whenAtLeast "6.1" yes; + LRU_GEN_ENABLED = whenAtLeast "6.1" yes; + FSL_MC_UAPI_SUPPORT = mkIf (stdenv.hostPlatform.system == "aarch64-linux") (whenAtLeast "5.12" yes); ASHMEM = { optional = true; tristate = whenBetween "5.0" "5.18" "y";}; |
