From 0272ad4ca7f5f6a620b9d338e71f91abb46b6020 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Wed, 27 Nov 2024 19:25:31 +0400 Subject: [PATCH] fix: enable memory cgroups v1 Got disabled with Linux 6.12. Signed-off-by: Andrey Smirnov --- kernel/build/config-amd64 | 2 +- kernel/build/config-arm64 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/build/config-amd64 b/kernel/build/config-amd64 index ed35c59f..b617a421 100644 --- a/kernel/build/config-amd64 +++ b/kernel/build/config-amd64 @@ -195,7 +195,7 @@ CONFIG_CGROUPS=y CONFIG_PAGE_COUNTER=y # CONFIG_CGROUP_FAVOR_DYNMODS is not set CONFIG_MEMCG=y -# CONFIG_MEMCG_V1 is not set +CONFIG_MEMCG_V1=y CONFIG_BLK_CGROUP=y CONFIG_CGROUP_WRITEBACK=y CONFIG_CGROUP_SCHED=y diff --git a/kernel/build/config-arm64 b/kernel/build/config-arm64 index 961b0719..a8448f82 100644 --- a/kernel/build/config-arm64 +++ b/kernel/build/config-arm64 @@ -190,7 +190,7 @@ CONFIG_CGROUPS=y CONFIG_PAGE_COUNTER=y # CONFIG_CGROUP_FAVOR_DYNMODS is not set CONFIG_MEMCG=y -# CONFIG_MEMCG_V1 is not set +CONFIG_MEMCG_V1=y CONFIG_BLK_CGROUP=y CONFIG_CGROUP_WRITEBACK=y CONFIG_CGROUP_SCHED=y