Merge pull request #205269 from xaverdh/mglru

enable Multi-Gen LRU in the linux kernel config

authored by Bernardo Meurer and committed by GitHub ed05a4b5 7eb9bc76

+5 -1
+3
pkgs/os-specific/linux/kernel/common-config.nix
··· 939 939 940 940 SCHED_CORE = whenAtLeast "5.14" yes; 941 941 942 + LRU_GEN = whenAtLeast "6.1" yes; 943 + LRU_GEN_ENABLED = whenAtLeast "6.1" yes; 944 + 942 945 FSL_MC_UAPI_SUPPORT = mkIf (stdenv.hostPlatform.system == "aarch64-linux") (whenAtLeast "5.12" yes); 943 946 944 947 ASHMEM = { optional = true; tristate = whenBetween "5.0" "5.18" "y";};
+2 -1
pkgs/os-specific/linux/kernel/xanmod-kernels.nix
··· 33 33 TCP_CONG_BBR2 = yes; 34 34 DEFAULT_BBR2 = yes; 35 35 36 - # Google's Multigenerational LRU framework 36 + # Multigenerational LRU framework 37 + # This can be removed when the LTS variant reaches version >= 6.1 (since it's on by default then) 37 38 LRU_GEN = yes; 38 39 LRU_GEN_ENABLED = yes; 39 40