[folded-merged] mm-mprotect-use-pmd_trans_unstable-instead-of-taking-the-pmd_lock-fix.patch removed from -mm tree

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

 



The patch titled
     Subject: mm-mprotect-use-pmd_trans_unstable-instead-of-taking-the-pmd_lock-fix
has been removed from the -mm tree.  Its filename was
     mm-mprotect-use-pmd_trans_unstable-instead-of-taking-the-pmd_lock-fix.patch

This patch was dropped because it was folded into mm-mprotect-use-pmd_trans_unstable-instead-of-taking-the-pmd_lock.patch

------------------------------------------------------
From: "Kirill A. Shutemov" <kirill@xxxxxxxxxxxxx>
Subject: mm-mprotect-use-pmd_trans_unstable-instead-of-taking-the-pmd_lock-fix

drop unneeded pmd_trans_unstable(pmd) check after __split_huge_pmd()

index f9c07f54dd62..e919e4613eab 100644
Link: http://lkml.kernel.org/r/20170208120421.GE5578@xxxxxxxxxxxxxxxxxx
Reviewed-by: Andrea Arcangeli <aarcange@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/mprotect.c |    2 --
 1 file changed, 2 deletions(-)

diff -puN mm/mprotect.c~mm-mprotect-use-pmd_trans_unstable-instead-of-taking-the-pmd_lock-fix mm/mprotect.c
--- a/mm/mprotect.c~mm-mprotect-use-pmd_trans_unstable-instead-of-taking-the-pmd_lock-fix
+++ a/mm/mprotect.c
@@ -163,8 +163,6 @@ static inline unsigned long change_pmd_r
 		if (pmd_trans_huge(*pmd) || pmd_devmap(*pmd)) {
 			if (next - addr != HPAGE_PMD_SIZE) {
 				__split_huge_pmd(vma, pmd, addr, false, NULL);
-				if (pmd_trans_unstable(pmd))
-					continue;
 			} else {
 				int nr_ptes = change_huge_pmd(vma, pmd, addr,
 						newprot, prot_numa);
_

Patches currently in -mm which might be from kirill@xxxxxxxxxxxxx are

mm-mprotect-use-pmd_trans_unstable-instead-of-taking-the-pmd_lock.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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