Skip to content

Copy-on-write hwpoison recovery

Jane Chu stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm, hwpoison: try to recover from copy-on write faultsinclude/linux/highmem.h mm/memory.c+45 -100 replies
2/2mm, hwpoison: when copy-on-write hits poison, take page offlineinclude/linux/mm.h mm/memory.c+7 -20 replies

Reviews trailers per patch

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

PatchDan WilliamsNaoya HoriguchiMiaohe LinAlexander PotapenkoShuai Xue
1/2R-b R-b R-b R-b T-b
2/2R-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 5 reviewers.

Read the v1 thread

Cover letter [5.15-stable PATCH 0/2] Copy-on-write hwpoison recovery

I was able to reproduce crash on 5.15.y kernel during COW, and when the grandchild process attempts a write to a private page inherited from the child process and the private page contains a memory uncorrectable error. The way to reproduce is described in Tony's patch, using his ras-tools/einj_mem_uc.
And the patch series fixed the panic issue in 5.15.y.

The backport has encountered trivial conflicts due to missing dependencies, details are provided in each patch.

Please let me know whether the backport is acceptable.

Tony Luck (2):
mm, hwpoison: try to recover from copy-on write faults mm, hwpoison: when copy-on-write hits poison, take page offline

 include/linux/highmem.h | 24 ++++++++++++++++++++++++
 include/linux/mm.h      |  5 ++++-
 mm/memory.c             | 33 +++++++++++++++++++++++----------
 3 files changed, 51 insertions(+), 11 deletions(-)
Signature · 1 line
2.18.4