mm-hwpoison-handle-non-anonymous-thp-correctly.patch removed from -mm tree
The patch titled
Subject: mm: hwpoison: handle non-anonymous THP correctly
has been removed from the -mm tree. Its filename was
mm-hwpoison-handle-non-anonymous-thp-correctly.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Yang Shi <[email protected]>
Subject: mm: hwpoison: handle non-anonymous THP correctly
Currently hwpoison doesn't handle non-anonymous THP, but since v4.8 THP support for tmpfs and read-only file cache has been added. They could be offlined by split THP, just like anonymous THP.
Signed-off-by Yang Shi <[email protected]>
Acked-by Naoya Horiguchi <[email protected]>
Cc Hugh Dickins <[email protected]>
Cc Kirill A. Shutemov <[email protected]>
Cc Matthew Wilcox <[email protected]>
Cc Oscar Salvador <[email protected]>
Cc Peter Xu <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/memory-failure.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
mm/memory-failure.c renamed from mm/memory-failure.c~mm-hwpoison-handle-non-anonymous-thp-correctly +2 -5
@@ -1444,14 +1444,11 @@ static int identify_page_state(unsignedstatic int try_to_split_thp_page (struct page *page,const char *msg) {lock_page (page); -if (!PageAnon (page) ||unlikely (split_huge_page (page))) { +if (unlikely (split_huge_page (page))) {unsigned long pfn =page_to_pfn (page);unlock_page (page); -if (!PageAnon (page)) -pr_info ("%s: %#lx: non anonymous thp\n" , msg, pfn); -else -pr_info ("%s: %#lx: thp split failed\n" , msg, pfn); +pr_info ("%s: %#lx: thp split failed\n" , msg, pfn);put_page (page);return -EBUSY ; }
_
Patches currently in -mm which might be from [email protected] are