diff mbox series

[v5.15,4/4] Allow MEMCG on PREEMPT_RT

Message ID 20220622110506.10534-5-richard@nod.at
State New
Headers show
Series Backport MEMCG changes from v5.16 | expand

Commit Message

Richard Weinberger June 22, 2022, 11:05 a.m. UTC
With these backported, it is safe to us MEMCG again:
mm/memcg: Add a local_lock_t for IRQ and TASK object.
mm/memcg: Protect per-CPU counter by disabling preemption on PREEMPT_RT where needed.
mm/memcg: Disable threshold event handlers on PREEMPT_RT

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 init/Kconfig | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/init/Kconfig b/init/Kconfig
index 0b8a65ae1d72..45bcaa8e7481 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -938,7 +938,6 @@  config PAGE_COUNTER
 
 config MEMCG
 	bool "Memory controller"
-	depends on !PREEMPT_RT
 	select PAGE_COUNTER
 	select EVENTFD
 	help