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

From: Miaohe Lin
Date: Fri Feb 18 2022 - 04:02:47 EST


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(-)

--
2.23.0