[PATCH 0/2] bail out early for memcg disable

From: Alex Shi
Date: Sun Nov 01 2020 - 21:17:48 EST


These 2 patches are indepenedent from per memcg lru lock, and may
encounter unexpected warning, so let's move out them from per memcg
lru locking patchset.

Alex Shi (2):
mm/memcg: bail early from swap accounting if memcg disabled
mm/memcg: warning on !memcg after readahead page charged

include/linux/mmdebug.h | 13 +++++++++++++
mm/memcontrol.c | 17 ++++++++++-------
2 files changed, 23 insertions(+), 7 deletions(-)

--
1.8.3.1