summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Xaver Hörl <hoe.dom@gmx.de>2022-12-09 22:35:36 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-02-26 10:58:51 +0000
commit776acb4a22262b0239002d155ce7bd73eb996629 (patch)
tree1d575ecb5b1b642ac8f9fc805280f352bb177eb6
parentMerge pull request #218408 from NixOS/backport-217740-to-release-22.11 (diff)
downloadnixpkgs-776acb4a22262b0239002d155ce7bd73eb996629.tar.gz
linux: build with support for Multi-Gen LRU
(cherry picked from commit 64866119846ef9c03739cbd77451f4623d1e695d)
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 22b71ad7af6f..fbb2cc9818a4 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -943,6 +943,8 @@ let
SCHED_CORE = whenAtLeast "5.14" yes;
+ LRU_GEN = 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";};