mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	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: b168ed458d ("kernel/cgroup: Add "dmem" memory accounting cgroup")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202501111330.3VuUx8vf-lkp@intel.com/
Acked-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Simona Vetter <simona.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20250113092608.1349287-1-mripard@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
			
			
This commit is contained in:
		
							parent
							
								
									8f52fd7a7d
								
							
						
					
					
						commit
						e33b51499a
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue