[PATCH 00/13] Some cleanups for memory-failure

From: Miaohe Lin
Date: Fri May 24 2024 - 05:17:08 EST


Hi everyone,
This series contains a few cleanup patches to remove unneeded function
variant, add helper macro, fix some obsolete comments and so on. More
details can be found in the respective changelogs.
Thanks!

Miaohe Lin (13):
mm/memory-failure: simplify put_ref_page()
mm/memory-failure: remove MF_MSG_SLAB
mm/memory-failure: add macro GET_PAGE_MAX_RETRY_NUM
mm/memory-failure: save a page_folio() call
mm/memory-failure: remove unneeded empty string
mm/memory-failure: remove confusing initialization to count
mm/memory-failure: remove unneeded hwpoison_filter() variant
mm/memory-failure: use helper macro task_pid_nr()
mm/memory-failure: remove obsolete comment in unpoison_memory()
mm/memory-failure: move some function declarations into internal.h
mm/memory-failure: fix comment of get_hwpoison_page()
mm/memory-failure: remove obsolete comment in kill_proc()
mm/memory-failure: correct comment in me_swapcache_dirty

include/linux/mm.h | 14 ------------
include/linux/page-flags.h | 5 ----
include/linux/rmap.h | 2 --
include/ras/ras_event.h | 1 -
mm/internal.h | 16 +++++++++++++
mm/memory-failure.c | 47 +++++++++++++-------------------------
6 files changed, 32 insertions(+), 53 deletions(-)

--
2.33.0