[PATCH v2 0/3] Cleanups and fixup for memcontrol

From: Miaohe Lin
Date: Sat Aug 07 2021 - 04:28:47 EST


Hi all,
This series contains cleanups to remove unused functions, save some
atomic ops and get rid of unneeded lock. More details can be found
in the respective changelogs. Thanks!

Miaohe Lin (3):
mm, memcg: remove unused functions
mm, memcg: save some atomic ops when flush is already true
mm, memcg: get rid of percpu_charge_mutex lock

v1-->v2:
drop mm, memcg: avoid possible NULL pointer dereferencing in
mem_cgroup_init()
drop mm, memcg: always call __mod_node_page_state() with preempt
disabled
collect Reviewed-by and Acked-by tag
get rid of percpu_charge_mutex instead of narrowing the scope

include/linux/memcontrol.h | 12 ------------
mm/memcontrol.c | 7 +------
2 files changed, 1 insertion(+), 18 deletions(-)

--
2.23.0