mbox series

[v3,0/8] A few cleanup and fixup patches for memory failure

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

Message

Miaohe Lin Feb. 18, 2022, 9:01 a.m. UTC
Hi,
This series contains a few patches to simplify the code logic, remove
unneeded variable and remove obsolete comment. Also we fix race changing
page more robustly in memory_failure. More details can be found in the
respective changelogs. Thanks!

---
v2->v3:
  limit the retry chance per Naoya.

v1->v2:
  Collect Acked-by tag and fix review comment.
  Thanks Naoya.
---

Miaohe Lin (8):
  mm/memory-failure.c: minor clean up for memory_failure_dev_pagemap
  mm/memory-failure.c: catch unexpected -EFAULT from vma_address()
  mm/memory-failure.c: rework the signaling logic in kill_proc
  mm/memory-failure.c: fix race with changing page more robustly
  mm/memory-failure.c: remove PageSlab check in hwpoison_filter_dev
  mm/memory-failure.c: rework the try_to_unmap logic in
    hwpoison_user_mappings()
  mm/memory-failure.c: remove obsolete comment in __soft_offline_page
  mm/memory-failure.c: remove unnecessary PageTransTail check

 mm/memory-failure.c | 87 +++++++++++++++++++++------------------------
 1 file changed, 40 insertions(+), 47 deletions(-)