From: Maxime Ripard Date: Mon, 13 Jan 2025 09:26:05 +0000 (+0100) Subject: cgroup/dmem: Select PAGE_COUNTER X-Git-Tag: v6.14-rc1~174^2^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e33b51499a0a6bcaf44824f5b6e6bc65bb75b79d;p=thirdparty%2Fkernel%2Flinux.git cgroup/dmem: Select PAGE_COUNTER The dmem cgroup the page counting API implemented behing the PAGE_COUNTER kconfig option. However, it doesn't select it, resulting in potential build breakages. Select PAGE_COUNTER. Fixes: b168ed458dde ("kernel/cgroup: Add "dmem" memory accounting cgroup") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202501111330.3VuUx8vf-lkp@intel.com/ Acked-by: Tejun Heo Reviewed-by: Simona Vetter Link: https://patchwork.freedesktop.org/patch/msgid/20250113092608.1349287-1-mripard@kernel.org Signed-off-by: Maxime Ripard --- diff --git a/init/Kconfig b/init/Kconfig index 61f50cafa8151..5e53285061381 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1139,6 +1139,7 @@ config CGROUP_RDMA config CGROUP_DMEM bool "Device memory controller (DMEM)" + select PAGE_COUNTER help The DMEM controller allows compatible devices to restrict device memory usage based on the cgroup hierarchy.