[PATCH 0/8] mm/memory-failure.c: A few cleanup patches for memory failure

From: Miaohe Lin
Date: Thu Feb 10 2022 - 09:21:38 EST


Hi,
This series contains a few patches to simplify the code logic, remove
unneeded variable and remove obsolete comment. More details can be found
in the respective changelogs. Thanks!

Miaohe Lin (8):
mm/memory-failure.c: minor clean up for memory_failure_dev_pagemap
mm/memory-failure.c: avoid walking page table when vma_address()
return -EFAULT
mm/memory-failure.c: rework the signaling logic in kill_proc
mm/memory-failure.c: remove unneeded orig_head
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 | 74 ++++++++++++++++++---------------------------
1 file changed, 29 insertions(+), 45 deletions(-)

--
2.23.0