linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v4 0/2] Copy-on-write poison recovery
@ 2023-05-08  3:18 Albert E. Davies
  0 siblings, 0 replies; 2+ messages in thread
From: Albert E. Davies @ 2023-05-08  3:18 UTC (permalink / raw)
  To: tony.luck
  Cc: akpm, christophe.leroy, dan.j.williams, glider, linmiaohe,
	linux-kernel, linux-mm, linuxppc-dev, mpe, naoya.horiguchi,
	npiggin, willy, xueshuai

[-- Attachment #1: Type: text/plain, Size: 55 bytes --]




Get Outlook for Android<https://aka.ms/AAb9ysg>

[-- Attachment #2: Type: text/html, Size: 452 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH v4 0/2] Copy-on-write poison recovery
  2022-10-21 20:01 [PATCH v3 " Tony Luck
@ 2022-10-31 20:10 ` Tony Luck
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Luck @ 2022-10-31 20:10 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Alexander Potapenko, Naoya Horiguchi, Miaohe Lin, Matthew Wilcox,
	Shuai Xue, Dan Williams, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy, linux-mm, linux-kernel, linuxppc-dev,
	Tony Luck

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

Changes since v3:

1) Miaohe Lin <linmiaohe@huawei.com> pointed out that a recent change
by Alexander Potapenko <glider@google.com> 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
-- 
2.37.3



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-08  3:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-08  3:18 [PATCH v4 0/2] Copy-on-write poison recovery Albert E. Davies
  -- strict thread matches above, loose matches on Subject: below --
2022-10-21 20:01 [PATCH v3 " Tony Luck
2022-10-31 20:10 ` [PATCH v4 " Tony Luck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox