mbox series

[0/2] bail out early for memcg disable

Message ID 1604283436-18880-1-git-send-email-alex.shi@linux.alibaba.com (mailing list archive)
Headers show
Series bail out early for memcg disable | expand

Message

Alex Shi Nov. 2, 2020, 2:17 a.m. UTC
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(-)