From 518f59ad6466702428451eda38d742224f6caf32 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Mon, 17 Oct 2022 10:28:21 +0800 Subject: [PATCH] generic: enable MGLRU support for Linux 6.0 --- target/linux/generic/config-6.0 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/linux/generic/config-6.0 b/target/linux/generic/config-6.0 index e812b6a0d..058cf07c7 100644 --- a/target/linux/generic/config-6.0 +++ b/target/linux/generic/config-6.0 @@ -3226,6 +3226,9 @@ CONFIG_LOG_CPU_MAX_BUF_SHIFT=12 # CONFIG_LPC_ICH is not set # CONFIG_LPC_SCH is not set # CONFIG_LP_CONSOLE is not set +CONFIG_LRU_GEN=y +CONFIG_LRU_GEN_ENABLED=y +# CONFIG_LRU_GEN_STATS is not set # CONFIG_LSI_ET1011C_PHY is not set CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity" CONFIG_LSM_MMAP_MIN_ADDR=65536 @@ -4413,6 +4416,7 @@ CONFIG_NMI_LOG_BUF_SHIFT=13 # CONFIG_NO_HZ_FULL is not set # CONFIG_NO_HZ_IDLE is not set CONFIG_NR_CPUS=256 +CONFIG_NR_LRU_GENS=7 # CONFIG_NS83820 is not set # CONFIG_NTB is not set # CONFIG_NTFS3_FS is not set @@ -6480,6 +6484,7 @@ CONFIG_THIN_ARCHIVES=y # CONFIG_THUNDER_NIC_VF is not set # CONFIG_TICK_CPU_ACCOUNTING is not set CONFIG_TICK_ONESHOT=y +CONFIG_TIERS_PER_GEN=4 # CONFIG_TIFM_CORE is not set # CONFIG_TIGON3 is not set # CONFIG_TIMB_DMA is not set