Skip to content

mm/memory-failure: rework fix on huge_zero_page splitting

Xu Yu linux-mm llvm oe-kbuild-all 1 version Applied

Status from this message: [merged mm-hotfixes-stable] mm-huge_memory-do-not-overkill-when-splitting-huge_zero_page.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesApplied 2/3

Patches in v1 Applied · 2/3

#Subject and filesSizeRepliesApplied
1/2Revert "mm/memory-failure.c: skip huge_zero_page in memory_failure()"mm/memory-failure.c+0 -132 repliesApplied
2/2mm/huge_memory: do not overkill when splitting huge_zero_pagemm/huge_memory.c+3 -14 replies
2/2mm/huge_memory: do not overkill when splitting huge_zero_pagemm/huge_memory.c+6 -14 repliesApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchNaoya HoriguchiYang ShiMiaohe Lin
1/2R-b R-b
2/2R-b R-b R-b
2/2R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] mm/memory-failure: rework fix on huge_zero_page splitting

This is actually PATCH v3 for the bug reported in PATCH v2[1], which is prematurely merged into mainline.

Therefore, this patchset first reverts PATCH v2, and then provides the v3 fix as the subsequent patch.

[1] https://lkml.kernel.org/r/497d3835612610e370c74e697ea3c721d1d55b9c.1649775850.git.xuyu@linux.alibaba.com

---
v2->v3: replace the BUG to WARN + returning -EBUSY when splitting huge_zero_page, and keep memory_failure unchanged.

Xu Yu (2):
Revert "mm/memory-failure.c: skip huge_zero_page in memory_failure()" mm/huge_memory: do not overkill when splitting huge_zero_page

 mm/huge_memory.c    |  4 +++-
 mm/memory-failure.c | 13 -------------
 2 files changed, 3 insertions(+), 14 deletions(-)
Signature · 1 line
2.20.1.2432.ga663e714