+ huegtlbfs-fix-races-and-page-leaks-during-migration-update-2.patch added to -mm tree

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

 



The patch titled
     Subject: huegtlbfs-fix-races-and-page-leaks-during-migration-update-2
has been added to the -mm tree.  Its filename is
     huegtlbfs-fix-races-and-page-leaks-during-migration-update-2.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/huegtlbfs-fix-races-and-page-leaks-during-migration-update-2.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/huegtlbfs-fix-races-and-page-leaks-during-migration-update-2.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: Mike Kravetz <mike.kravetz@xxxxxxxxxx>
Subject: huegtlbfs-fix-races-and-page-leaks-during-migration-update-2

update comment and changelog

Link: http://lkml.kernel.org/r/420bcfd6-158b-38e4-98da-26d0cd85bd01@xxxxxxxxxx
Signed-off-by: Mike Kravetz <mike.kravetz@xxxxxxxxxx>
Reviewed-by: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/hugetlb.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

--- a/mm/hugetlb.c~huegtlbfs-fix-races-and-page-leaks-during-migration-update-2
+++ a/mm/hugetlb.c
@@ -3863,7 +3863,11 @@ retry:
 
 	spin_unlock(ptl);
 
-	/* Make newly allocated pages active */
+	/*
+	 * Only make newly allocated pages active.  Existing pages found
+	 * in the pagecache could be !page_huge_active() if they have been
+	 * isolated for migration.
+	 */
 	if (new_page)
 		set_page_huge_active(page);
 
_

Patches currently in -mm which might be from mike.kravetz@xxxxxxxxxx are

huegtlbfs-fix-races-and-page-leaks-during-migration.patch
huegtlbfs-fix-races-and-page-leaks-during-migration-update.patch
huegtlbfs-fix-races-and-page-leaks-during-migration-update-2.patch
hugetlbfs-fix-potential-over-underflow-setting-node-specific-nr_hugepages.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