[folded-merged] mm-gup-check-page-posion-status-for-coredump-v4.patch removed from -mm tree

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

 



The patch titled
     Subject: mm-gup-check-page-posion-status-for-coredump-v4
has been removed from the -mm tree.  Its filename was
     mm-gup-check-page-posion-status-for-coredump-v4.patch

This patch was dropped because it was folded into mm-gup-check-page-posion-status-for-coredump.patch

------------------------------------------------------
From: Aili Yao <yaoaili@xxxxxxxxxxxx>
Subject: mm-gup-check-page-posion-status-for-coredump-v4

is_page_poisoned() arg cannot be null, per Matthew

Link: https://lkml.kernel.org/r/20210319104437.6f30e80d@alex-virtual-machine
Link: https://lkml.kernel.org/r/20210322115233.05e4e82a@alex-virtual-machine
Signed-off-by: Aili Yao <yaoaili@xxxxxxxxxxxx>
Cc: David Hildenbrand <david@xxxxxxxxxx>
Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx>
Cc: Naoya Horiguchi <naoya.horiguchi@xxxxxxx>
Cc: Oscar Salvador <osalvador@xxxxxxx>
Cc: Mike Kravetz <mike.kravetz@xxxxxxxxxx>
Cc: Aili Yao <yaoaili@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/internal.h |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

--- a/mm/internal.h~mm-gup-check-page-posion-status-for-coredump-v4
+++ a/mm/internal.h
@@ -109,12 +109,11 @@ static inline void set_page_refcounted(s
  */
 static inline bool is_page_poisoned(struct page *page)
 {
-	if (page != NULL) {
-		if (PageHWPoison(page))
-			return true;
-		else if (PageHuge(page) && PageHWPoison(compound_head(page)))
-			return true;
-	}
+	if (PageHWPoison(page))
+		return true;
+	else if (PageHuge(page) && PageHWPoison(compound_head(page)))
+		return true;
+
 	return false;
 }
 
_

Patches currently in -mm which might be from yaoaili@xxxxxxxxxxxx are

mm-gup-check-page-posion-status-for-coredump.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