mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
Merge pull request #205269 from xaverdh/mglru
enable Multi-Gen LRU in the linux kernel config
This commit is contained in:
commit
ed05a4b5c7
|
@ -939,6 +939,9 @@ let
|
||||||
|
|
||||||
SCHED_CORE = whenAtLeast "5.14" yes;
|
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);
|
FSL_MC_UAPI_SUPPORT = mkIf (stdenv.hostPlatform.system == "aarch64-linux") (whenAtLeast "5.12" yes);
|
||||||
|
|
||||||
ASHMEM = { optional = true; tristate = whenBetween "5.0" "5.18" "y";};
|
ASHMEM = { optional = true; tristate = whenBetween "5.0" "5.18" "y";};
|
||||||
|
|
|
@ -33,7 +33,8 @@ let
|
||||||
TCP_CONG_BBR2 = yes;
|
TCP_CONG_BBR2 = yes;
|
||||||
DEFAULT_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 = yes;
|
||||||
LRU_GEN_ENABLED = yes;
|
LRU_GEN_ENABLED = yes;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue