+ mm-swap-fix-release_pages-when-releasing-devmap-pages-v4.patch added to -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-v4
has been added to the -mm tree.  Its filename is
     mm-swap-fix-release_pages-when-releasing-devmap-pages-v4.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-swap-fix-release_pages-when-releasing-devmap-pages-v4.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-swap-fix-release_pages-when-releasing-devmap-pages-v4.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

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

update comment to the one provided by John

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

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

--- a/mm/swap.c~mm-swap-fix-release_pages-when-releasing-devmap-pages-v4
+++ a/mm/swap.c
@@ -747,10 +747,10 @@ void release_pages(struct page **pages,
 				locked_pgdat = NULL;
 			}
 			/*
-			 * Not all zone-device-pages require special
-			 * processing.  Those pages return 'false' from
-			 * put_devmap_managed_page() expecting a call to
-			 * put_page_testzero()
+			 * ZONE_DEVICE pages that return 'false' from
+			 * put_devmap_managed_page() do not require special
+			 * processing, and instead, expect 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

mm-swap-fix-release_pages-when-releasing-devmap-pages.patch
mm-swap-fix-release_pages-when-releasing-devmap-pages-v2.patch
mm-swap-fix-release_pages-when-releasing-devmap-pages-v3.patch
mm-swap-fix-release_pages-when-releasing-devmap-pages-v4.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