mm/memcontrol: Disable on PREEMPT_RT

559271146e ("mm/memcg: optimize user context object stock access") is a
classic example of optimizing for the cpu local BKL serialization without a
clear protection scope.

Disable MEMCG on RT for now.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner 2021-07-25 21:35:46 +02:00 committed by Bruce Ashfield
parent 8608b79fa6
commit 3dabbd5ff6

View File

@ -910,6 +910,7 @@ config PAGE_COUNTER
config MEMCG
bool "Memory controller"
depends on !PREEMPT_RT
select PAGE_COUNTER
select EVENTFD
help