diff mbox series

[next] cgroup/rdma: Drop bogus PAGE_COUNTER select

Message ID b4d462f038a2f895f30ae759928397c8183f6f7e.1737020925.git.geert+renesas@glider.be (mailing list archive)
State New
Headers show
Series [next] cgroup/rdma: Drop bogus PAGE_COUNTER select | expand

Commit Message

Geert Uytterhoeven Jan. 16, 2025, 9:56 a.m. UTC
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(-)

Comments

Tejun Heo Jan. 16, 2025, 7:42 p.m. UTC | #1
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.
Maxime Ripard Jan. 17, 2025, 12:56 p.m. UTC | #2
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
diff mbox series

Patch

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