mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH next] cgroup/rdma: Drop bogus PAGE_COUNTER select
@ 2025-01-16  9:56 Geert Uytterhoeven
  2025-01-16 19:42 ` Tejun Heo
  2025-01-17 12:56 ` Maxime Ripard
  0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2025-01-16  9:56 UTC (permalink / raw)
  To: Maxime Ripard, Maarten Lankhorst, Friedrich Vock, Tejun Heo,
	Jason Gunthorpe, Leon Romanovsky
  Cc: dri-devel, linux-rdma, linux-kernel, Geert Uytterhoeven

When adding the Device memory controller (DMEM), "select PAGE_COUNTER"
was added to CGROUP_RDMA, presumably instead of CGROUP_DMEM.
While commit e33b51499a0a6bca ("cgroup/dmem: Select PAGE_COUNTER") added
the missing select to CGROUP_DMEM, the bogus select is still there.
Remove it.

Fixes: b168ed458ddecc17 ("kernel/cgroup: Add "dmem" memory accounting cgroup")
Closes: https://lore.kernel.org/CAMuHMdUmPfahsnZwx2iB5yfh8rjjW25LNcnYujNBgcKotUXBNg@mail.gmail.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Broken commit is in drm/drm-next
Partial fix is in drm-misc/for-linux-next

 init/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/init/Kconfig b/init/Kconfig
index 61f50cafa8151ed2..bd7630e75207e8dc 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1128,7 +1128,6 @@ config CGROUP_PIDS
 
 config CGROUP_RDMA
 	bool "RDMA controller"
-	select PAGE_COUNTER
 	help
 	  Provides enforcement of RDMA resources defined by IB stack.
 	  It is fairly easy for consumers to exhaust RDMA resources, which
-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH next] cgroup/rdma: Drop bogus PAGE_COUNTER select
  2025-01-16  9:56 [PATCH next] cgroup/rdma: Drop bogus PAGE_COUNTER select Geert Uytterhoeven
@ 2025-01-16 19:42 ` Tejun Heo
  2025-01-17 12:56 ` Maxime Ripard
  1 sibling, 0 replies; 3+ messages in thread
From: Tejun Heo @ 2025-01-16 19:42 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Maxime Ripard, Maarten Lankhorst, Friedrich Vock,
	Jason Gunthorpe, Leon Romanovsky, dri-devel, linux-rdma,
	linux-kernel

On Thu, Jan 16, 2025 at 10:56:35AM +0100, Geert Uytterhoeven wrote:
> When adding the Device memory controller (DMEM), "select PAGE_COUNTER"
> was added to CGROUP_RDMA, presumably instead of CGROUP_DMEM.
> While commit e33b51499a0a6bca ("cgroup/dmem: Select PAGE_COUNTER") added
> the missing select to CGROUP_DMEM, the bogus select is still there.
> Remove it.
> 
> Fixes: b168ed458ddecc17 ("kernel/cgroup: Add "dmem" memory accounting cgroup")
> Closes: https://lore.kernel.org/CAMuHMdUmPfahsnZwx2iB5yfh8rjjW25LNcnYujNBgcKotUXBNg@mail.gmail.com
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Acked-by: Tejun Heo <tj@kernel.org>

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH next] cgroup/rdma: Drop bogus PAGE_COUNTER select
  2025-01-16  9:56 [PATCH next] cgroup/rdma: Drop bogus PAGE_COUNTER select Geert Uytterhoeven
  2025-01-16 19:42 ` Tejun Heo
@ 2025-01-17 12:56 ` Maxime Ripard
  1 sibling, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2025-01-17 12:56 UTC (permalink / raw)
  To: Maarten Lankhorst, Friedrich Vock, Tejun Heo, Jason Gunthorpe,
	Leon Romanovsky, Geert Uytterhoeven
  Cc: Maxime Ripard, dri-devel, linux-rdma, linux-kernel

On Thu, 16 Jan 2025 10:56:35 +0100, Geert Uytterhoeven wrote:
> When adding the Device memory controller (DMEM), "select PAGE_COUNTER"
> was added to CGROUP_RDMA, presumably instead of CGROUP_DMEM.
> While commit e33b51499a0a6bca ("cgroup/dmem: Select PAGE_COUNTER") added
> the missing select to CGROUP_DMEM, the bogus select is still there.
> Remove it.
> 
> 
> [...]

Applied to misc/kernel.git (drm-misc-next-fixes).

Thanks!
Maxime

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-01-17 12:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-16  9:56 [PATCH next] cgroup/rdma: Drop bogus PAGE_COUNTER select Geert Uytterhoeven
2025-01-16 19:42 ` Tejun Heo
2025-01-17 12:56 ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®