Unverified Commit ed05a4b5 authored by Bernardo Meurer's avatar Bernardo Meurer Committed by GitHub
Browse files

Merge pull request #205269 from xaverdh/mglru

enable Multi-Gen LRU in the linux kernel config
parents 7eb9bc76 be2ee8b4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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";};
+2 −1
Original line number Diff line number Diff line
@@ -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;