[folded-merged] mm-hwpoison-try-to-recover-from-copy-on-write-faults-v4.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The quilt patch titled
     Subject: mm-hwpoison-try-to-recover-from-copy-on-write-faults-v4
has been removed from the -mm tree.  Its filename was
     mm-hwpoison-try-to-recover-from-copy-on-write-faults-v4.patch

This patch was dropped because it was folded into mm-hwpoison-try-to-recover-from-copy-on-write-faults.patch

------------------------------------------------------
From: Tony Luck <tony.luck@xxxxxxxxx>
Subject: mm-hwpoison-try-to-recover-from-copy-on-write-faults-v4
Date: Mon, 31 Oct 2022 13:10:28 -0700

add call to kmsan_unpoison_memory(), per Miaohe Lin

Link: https://lkml.kernel.org/r/20221031201029.102123-2-tony.luck@xxxxxxxxx
Reviewed-by: Dan Williams <dan.j.williams@xxxxxxxxx>
Reviewed-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>
Reviewed-by: Naoya Horiguchi <naoya.horiguchi@xxxxxxx>
Tested-by: Shuai Xue <xueshuai@xxxxxxxxxxxxxxxxx>
Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/highmem.h |    2 ++
 1 file changed, 2 insertions(+)

--- a/include/linux/highmem.h~mm-hwpoison-try-to-recover-from-copy-on-write-faults-v4
+++ a/include/linux/highmem.h
@@ -329,6 +329,8 @@ static inline int copy_mc_user_highpage(
 	vfrom = kmap_local_page(from);
 	vto = kmap_local_page(to);
 	ret = copy_mc_to_kernel(vto, vfrom, PAGE_SIZE);
+	if (!ret)
+		kmsan_unpoison_memory(page_address(to), PAGE_SIZE);
 	kunmap_local(vto);
 	kunmap_local(vfrom);
 
_

Patches currently in -mm which might be from tony.luck@xxxxxxxxx are

mm-hwpoison-try-to-recover-from-copy-on-write-faults.patch
mm-hwpoison-when-copy-on-write-hits-poison-take-page-offline.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux