The patch titled
     Subject: mm: actually clear pmd_numa before invalidating
has been added to the -mm tree.  Its filename is
     mm-actually-clear-pmd_numa-before-invalidating.patch

This patch should soon appear at
    
http://ozlabs.org/~akpm/mmots/broken-out/mm-actually-clear-pmd_numa-before-invalidating.patch
and later at
    
http://ozlabs.org/~akpm/mmotm/broken-out/mm-actually-clear-pmd_numa-before-invalidating.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/SubmitChecklist when testing your code ***

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

------------------------------------------------------
From: Matthew Wilcox <[email protected]>
Subject: mm: actually clear pmd_numa before invalidating

Commit 67f87463d3 ("mm: clear pmd_numa before invalidating") cleared the
NUMA bit in a copy of the PMD entry, but then wrote back the original

Signed-off-by: Matthew Wilcox <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---

 mm/pgtable-generic.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/pgtable-generic.c~mm-actually-clear-pmd_numa-before-invalidating 
mm/pgtable-generic.c
--- a/mm/pgtable-generic.c~mm-actually-clear-pmd_numa-before-invalidating
+++ a/mm/pgtable-generic.c
@@ -195,7 +195,7 @@ void pmdp_invalidate(struct vm_area_stru
        pmd_t entry = *pmdp;
        if (pmd_numa(entry))
                entry = pmd_mknonnuma(entry);
-       set_pmd_at(vma->vm_mm, address, pmdp, pmd_mknotpresent(*pmdp));
+       set_pmd_at(vma->vm_mm, address, pmdp, pmd_mknotpresent(entry));
        flush_tlb_range(vma, address, address + HPAGE_PMD_SIZE);
 }
 #endif /* CONFIG_TRANSPARENT_HUGEPAGE */
_

Patches currently in -mm which might be from [email protected] are

mm-actually-clear-pmd_numa-before-invalidating.patch
mm-introduce-do_shared_fault-and-drop-do_fault-fix-fix.patch
do_shared_fault-check-that-mmap_sem-is-held.patch

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to