Skip to content

Copy-on-write poison recovery

Tony Luck linux-mm linuxppc-dev lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 3 repliesIn review 1 of 2 applied
  2. v32 patches 10 repliesSuperseded 1 of 2 applied
  3. v21 patch 14 repliesSuperseded

Changes in v4 from the cover letter

1) Miaohe Lin <[email protected]> pointed out that a recent change by Alexander Potapenko <[email protected]> to copy_user_highpage() added a call to kmsan_unpoison_memory(). Same is needed in my cloned copy_mc_user_highpage() ... at least in the successful case where the page was copied with no machine checks.

2) Picked up some additional Reviewed-by and Tested-by tags.

Patches in v4 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2mm, hwpoison: Try to recover from copy-on write faultsinclude/linux/highmem.h mm/memory.c+46 -100 repliesApplied
2/2mm, hwpoison: When copy-on-write hits poison, take page offlineinclude/linux/mm.h mm/memory.c+7 -23 replies

Reviews trailers per patch

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

PatchDan WilliamsMiaohe LinNaoya HoriguchiShuai Xue
1/2R-b R-b R-b T-b
2/2R-b T-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 4 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/2] Copy-on-write poison recovery

Recover from poison consumption while copying pages in the kernel for a copy-on-write fault.

Changes since v3:

1) Miaohe Lin <[email protected]> pointed out that a recent change by Alexander Potapenko <[email protected]> to copy_user_highpage() added a call to kmsan_unpoison_memory(). Same is needed in my cloned copy_mc_user_highpage() ... at least in the successful case where the page was copied with no machine checks.

2) Picked up some additional Reviewed-by and Tested-by tags.

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 | 26 ++++++++++++++++++++++++++
 include/linux/mm.h      |  5 ++++-
 mm/memory.c             | 32 ++++++++++++++++++++++----------
 3 files changed, 52 insertions(+), 11 deletions(-)

base-commit: 30a0b95b1335e12efef89dd78518ed3e4a71a763

Signature · 1 line
2.37.3