Skip to content

Commit e33b514

Browse files
committed
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: b168ed4 ("kernel/cgroup: Add "dmem" memory accounting cgroup") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Acked-by: Tejun Heo <[email protected]> Reviewed-by: Simona Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Maxime Ripard <[email protected]>
1 parent 8f52fd7 commit e33b514

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

init/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,6 +1139,7 @@ config CGROUP_RDMA
11391139

11401140
config CGROUP_DMEM
11411141
bool "Device memory controller (DMEM)"
1142+
select PAGE_COUNTER
11421143
help
11431144
The DMEM controller allows compatible devices to restrict device
11441145
memory usage based on the cgroup hierarchy.

0 commit comments

Comments
 (0)