[merged] mm-swap-fix-release_pages-when-releasing-devmap-pages-v3.patch removed from -mm tree

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

 



The patch titled
     Subject: mm-swap-fix-release_pages-when-releasing-devmap-pages-v3
has been removed from the -mm tree.  Its filename was
     mm-swap-fix-release_pages-when-releasing-devmap-pages-v3.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Ira Weiny <ira.weiny@xxxxxxxxx>
Subject: mm-swap-fix-release_pages-when-releasing-devmap-pages-v3

Update changelog for more clarity as requested by Michal
Update comment WRT "failing" of put_devmap_managed_page()

Link: http://lkml.kernel.org/r/20190604164813.31514-1-ira.weiny@xxxxxxxxx
Signed-off-by: Ira Weiny <ira.weiny@xxxxxxxxx>
Cc: Jérôme Glisse <jglisse@xxxxxxxxxx>
Cc: Michal Hocko <mhocko@xxxxxxxx>
Reviewed-by: Dan Williams <dan.j.williams@xxxxxxxxx>
Reviewed-by: John Hubbard <jhubbard@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/swap.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

--- a/mm/swap.c~mm-swap-fix-release_pages-when-releasing-devmap-pages-v3
+++ a/mm/swap.c
@@ -747,8 +747,10 @@ void release_pages(struct page **pages,
 				locked_pgdat = NULL;
 			}
 			/*
-			 * zone-device-pages can still fail here and will
-			 * therefore need put_page_testzero()
+			 * Not all zone-device-pages require special
+			 * processing.  Those pages return 'false' from
+			 * put_devmap_managed_page() expecting a call to
+			 * put_page_testzero()
 			 */
 			if (put_devmap_managed_page(page))
 				continue;
_

Patches currently in -mm which might be from ira.weiny@xxxxxxxxx are






[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