mbox series

[v2,0/4] Cleanups for vmscan

Message ID 20210717065911.61497-1-linmiaohe@huawei.com (mailing list archive)
Headers show
Series Cleanups for vmscan | expand

Message

Miaohe Lin July 17, 2021, 6:59 a.m. UTC
Hi all,
This series contains cleanups to remove unneeded return value, misleading
setting and so on. Also this remove the PageDirty check after MADV_FREE
pages are page_ref_freezed. More details can be found in the respective
changelogs. Thanks!

v1->v2:
  collect Acked-by tag
  remove patch "mm/vmscan: fix misleading comment in isolate_lru_pages()"
  remove PageDirty check instead of setting SwapBacked in shrink_page_list

Miaohe Lin (4):
  mm/vmscan: remove the PageDirty check after MADV_FREE pages are
    page_ref_freezed
  mm/vmscan: remove misleading setting to sc->priority
  mm/vmscan: remove unneeded return value of kswapd_run()
  mm/vmscan: add 'else' to remove check_pending label

 include/linux/swap.h |  2 +-
 mm/vmscan.c          | 36 +++++++++++++++---------------------
 2 files changed, 16 insertions(+), 22 deletions(-)