[PATCH 0/8] A few cleanup and fixup patches for migration

From: Miaohe Lin
Date: Tue Mar 29 2022 - 09:25:52 EST


Hi everyone,
This series contains a few patches to remove obsolete comment, introduce
helper to remove duplicated code and so no. Also we take all base pages
of THP into account in rare race condition. More details can be found in
the respective changelogs. Thanks!

Miaohe Lin (8):
mm/vmscan: remove redundant folio_test_swapbacked check when folio is
file lru
mm/vmscan: remove unneeded can_split_huge_page check
mm/vmscan: introduce helper function reclaim_page_list()
mm/vmscan: save a bit of stack space in shrink_lruvec
mm/vmscan: use helper folio_is_file_lru()
mm/vmscan: take all base pages of THP into account when race with
speculative reference
mm/vmscan: take min_slab_pages into account when try to call
shrink_node
mm/vmscan: remove obsolete comment in kswapd_run

mm/vmscan.c | 68 +++++++++++++++++++++++++----------------------------
1 file changed, 32 insertions(+), 36 deletions(-)

--
2.23.0