This patch series is part of [1] patch series. Because those patches are code cleanup or simplification. I gather those patches into a separate series to make it easier to review. [1] https://lore.kernel.org/linux-mm/20210409122959.82264-1-songmuchun@xxxxxxxxxxxxx/ Muchun Song (7): mm: memcontrol: fix page charging in page replacement mm: memcontrol: bail out early when !mm in get_mem_cgroup_from_mm mm: memcontrol: remove the pgdata parameter of mem_cgroup_page_lruvec mm: memcontrol: simplify lruvec_holds_page_lru_lock mm: memcontrol: simplify the logic of objcg pinning memcg mm: memcontrol: move obj_cgroup_uncharge_pages() out of css_set_lock mm: vmscan: remove noinline_for_stack include/linux/memcontrol.h | 39 +++++++++-------------------- mm/compaction.c | 2 +- mm/memcontrol.c | 61 ++++++++++++++++++++-------------------------- mm/swap.c | 2 +- mm/vmscan.c | 6 ++--- mm/workingset.c | 2 +- 6 files changed, 43 insertions(+), 69 deletions(-) -- 2.11.0