mbox series

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

Message ID 20220329132619.18689-1-linmiaohe@huawei.com (mailing list archive)
Headers show
Series A few cleanup and fixup patches for migration | expand

Message

Miaohe Lin March 29, 2022, 1:26 p.m. UTC
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(-)