[PATCH 0/5] Cleanups and fixup for memcontrol

From: Miaohe Lin
Date: Thu Jul 29 2021 - 08:57:58 EST


Hi all,
This series contains cleanups to remove unused functions, narrow the
scope of mutex and so on. Also this fix the possible NULL pointer
dereferencing and possible wrong percpu operation. More details can
be found in the respective changelogs. Thanks!

Miaohe Lin (5):
mm, memcg: remove unused functions
mm, memcg: narrow the scope of percpu_charge_mutex
mm, memcg: save some atomic ops when flush is already true
mm, memcg: avoid possible NULL pointer dereferencing in
mem_cgroup_init()
mm, memcg: always call __mod_node_page_state() with preempt disabled

include/linux/memcontrol.h | 12 ------------
mm/memcontrol.c | 8 +++++---
2 files changed, 5 insertions(+), 15 deletions(-)

--
2.23.0