diff --git a/arch/arm64/configs/fleur_defconfig b/arch/arm64/configs/fleur_defconfig index 23c7ef51672c..a196cfbb2552 100644 --- a/arch/arm64/configs/fleur_defconfig +++ b/arch/arm64/configs/fleur_defconfig @@ -68,6 +68,8 @@ CONFIG_MTK_MUSB_DUAL_ROLE=y CONFIG_MTK_PLATFORM="mt6785" CONFIG_ARCH_MTK_PROJECT="fleur" CONFIG_BLK_CGROUP=y +# CONFIG_MEMCG is not set +# CONFIG_MEMCG_SWAP is not set CONFIG_MTK_BATTERY_OC_POWER_THROTTLING=y CONFIG_MTK_BATTERY_PERCENTAGE_POWER_THROTTLING=y CONFIG_MTK_LOW_BATTERY_POWER_THROTTLING=y diff --git a/init/Kconfig b/init/Kconfig index 9d82650167ff..29691be31a9d 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -816,7 +816,6 @@ config MEMCG_SWAP config MEMCG_SWAP_ENABLED bool "Swap controller enabled by default" depends on MEMCG_SWAP - default y help Memory Resource Controller Swap Extension comes with its price in a bigger memory consumption. General purpose distribution kernels @@ -830,7 +829,6 @@ config MEMCG_SWAP_ENABLED config MEMCG_KMEM bool depends on MEMCG && !SLOB - default y config BLK_CGROUP bool "IO controller"