* [folded-merged] mm-gup-check-page-posion-status-for-coredump-v4.patch removed from -mm tree
@ 2021-04-09 20:07 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2021-04-09 20:07 UTC (permalink / raw)
To: david, mike.kravetz, mm-commits, naoya.horiguchi, osalvador,
willy, yaoaili
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@kingsoft.com>
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@kingsoft.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Aili Yao <yaoaili@kingsoft.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
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@kingsoft.com are
mm-gup-check-page-posion-status-for-coredump.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-09 20:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-09 20:07 [folded-merged] mm-gup-check-page-posion-status-for-coredump-v4.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).