Skip to content

A few cleanup and fixup patches for memory failure

Miaohe Lin linux-mm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 1 replyIn review 7 of 8 applied
  2. v28 patches 2 repliesSuperseded
  3. v18 patches 13 repliesSuperseded

Changes in v3 from the cover letter

limit the retry chance per Naoya.

Patches in v3 7 of 8 applied

#Subject and filesSizeRepliesApplied
1/8mm/memory-failure.c: minor clean up for memory_failure_dev_pagemapmm/memory-failure.c+2 -20 replies
2/8mm/memory-failure.c: catch unexpected -EFAULT from vma_address()mm/memory-failure.c+1 -00 repliesApplied
3/8mm/memory-failure.c: rework the signaling logic in kill_procmm/memory-failure.c+6 -100 repliesApplied
4/8mm/memory-failure.c: fix race with changing page more robustlymm/memory-failure.c+15 -51 replyApplied
5/8mm/memory-failure.c: remove PageSlab check in hwpoison_filter_devmm/memory-failure.c+0 -60 repliesApplied
6/8mm/memory-failure.c: rework the try_to_unmap logic in hwpoison_user_mappings()mm/memory-failure.c+15 -190 repliesApplied
7/8mm/memory-failure.c: remove obsolete comment in __soft_offline_pagemm/memory-failure.c+0 -40 repliesApplied
8/8mm/memory-failure.c: remove unnecessary PageTransTail checkmm/memory-failure.c+1 -10 repliesApplied

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchNaoya Horiguchi
1/8A-b
2/8A-b
3/8A-b
4/8A-b
5/8A-b
6/8A-b
7/8
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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(-)
Signature · 1 line
2.23.0