3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #205269 from xaverdh/mglru

enable Multi-Gen LRU in the linux kernel config
This commit is contained in:
Bernardo Meurer 2022-12-27 11:40:03 -03:00 committed by GitHub
commit ed05a4b5c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -939,6 +939,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";};

View file

@ -33,7 +33,8 @@ let
TCP_CONG_BBR2 = yes;
DEFAULT_BBR2 = yes;
# Google's Multigenerational LRU framework
# Multigenerational LRU framework
# This can be removed when the LTS variant reaches version >= 6.1 (since it's on by default then)
LRU_GEN = yes;
LRU_GEN_ENABLED = yes;