This is a backport of Sebastian's MEMCG changes to v5.15. With these patches applied, it is possible to use memory cgroups together with PREEMPT_RT on v5.15, just like on v5.17. David Oberhollenzer (1): Allow MEMCG on PREEMPT_RT Sebastian Andrzej Siewior (3): mm/memcg: Disable threshold event handlers on PREEMPT_RT mm/memcg: Protect per-CPU counter by disabling preemption on PREEMPT_RT where needed. mm/memcg: Add a local_lock_t for IRQ and TASK object. .../admin-guide/cgroup-v1/memory.rst | 2 + init/Kconfig | 1 - mm/memcontrol.c | 1264 +++++++++-------- 3 files changed, 671 insertions(+), 596 deletions(-) -- 2.36.1