diff --git a/init/Kconfig b/init/Kconfig
index 61f50cafa8151ed2949da769fe00d9cd5e22f909..5e5328506138179e5db0948888ab20b89ad7e708 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.