mm-hwpoison_user_mappings-try_to_unmap-with-ttu_sync.patch removed from -mm tree
The patch titled
Subject: mm: hwpoison_user_mappings() try_to_unmap() with TTU_SYNC
has been removed from the -mm tree. Its filename was
mm-hwpoison_user_mappings-try_to_unmap-with-ttu_sync.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Hugh Dickins <[email protected]>
Subject: mm: hwpoison_user_mappings() try_to_unmap() with TTU_SYNC
TTU_SYNC prevents an unlikely race, when try_to_unmap() returns shortly before the page is accounted as unmapped. It is unlikely to coincide with hwpoisoning, but now that we have the flag, hwpoison_user_mappings() would do well to use it.
Signed-off-by Hugh Dickins <[email protected]>
Acked-by Naoya Horiguchi <[email protected]>
Cc Alistair Popple <[email protected]>
Cc Jan Kara <[email protected]>
Cc Jue Wang <[email protected]>
Cc "Matthew Wilcox (Oracle)" <[email protected]>
Cc Miaohe Lin <[email protected]>
Cc Minchan Kim <[email protected]>
Cc Oscar Salvador <[email protected]>
Cc Peter Xu <[email protected]>
Cc Ralph Campbell <[email protected]>
Cc Shakeel Butt <[email protected]>
Cc Wang Yugui <[email protected]>
Cc Yang Shi <[email protected]>
Cc Zi Yan <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/memory-failure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/memory-failure.c renamed from mm/memory-failure.c~mm-hwpoison_user_mappings-try_to_unmap-with-ttu_sync +1 -1
@@ -1266,7 +1266,7 @@ static int get_hwpoison_page(struct pagestatic bool hwpoison_user_mappings (struct page *p,unsigned long pfn,int flags,struct page **hpagep) { -enum ttu_flags ttu =TTU_IGNORE_MLOCK ; +enum ttu_flags ttu =TTU_IGNORE_MLOCK |TTU_SYNC ;struct address_space *mapping;LIST_HEAD (tokill);bool unmap_success;
_
Patches currently in -mm which might be from [email protected] are