mbox series

[0/6] A few cleanup patches for memory-failure

Message ID 20220830123604.25763-1-linmiaohe@huawei.com (mailing list archive)
Headers show
Series A few cleanup patches for memory-failure | expand

Message

Miaohe Lin Aug. 30, 2022, 12:35 p.m. UTC
Hi everyone,
This series contains a few cleanup patches to use __PageMovable() to
detect non-lru movable pages, use num_poisoned_pages_sub() to reduce
multiple atomic ops overheads and so on. More details can be found in
the respective changelogs.
Thanks!

Miaohe Lin (6):
  mm, hwpoison: use ClearPageHWPoison() in memory_failure()
  mm, hwpoison: use __PageMovable() to detect non-lru movable pages
  mm, hwpoison: use num_poisoned_pages_sub() to decrease
    num_poisoned_pages
  mm, hwpoison: avoid unneeded page_mapped_in_vma() overhead in
    collect_procs_anon()
  mm, hwpoison: check PageTable() explicitly in hwpoison_user_mappings()
  mm, hwpoison: cleanup some obsolete comments

 include/linux/swapops.h |  5 -----
 mm/memory-failure.c     | 28 +++++++++++++++-------------
 2 files changed, 15 insertions(+), 18 deletions(-)