mm-pgtable-dont-accumulate-addr-during-pgd-prepopulate-pmd.patch removed from -mm tree
Subject: [merged] mm-pgtable-dont-accumulate-addr-during-pgd-prepopulate-pmd.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 09 Jul 2013 16:20:15 -0700
The patch titled
Subject: mm/pgtable: don't accumulate addr during pgd prepopulate pmd
has been removed from the -mm tree. Its filename was
mm-pgtable-dont-accumulate-addr-during-pgd-prepopulate-pmd.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Wanpeng Li <[email protected]>
Subject: mm/pgtable: don't accumulate addr during pgd prepopulate pmd
The old codes accumulate addr to get right pmd, however, currently pmds are preallocated and transfered as a parameter, there is unnecessary to accumulate addr variable any more, this patch remove it.
---
arch/x86/mm/pgtable.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
arch/x86/mm/pgtable.c renamed from arch/x86/mm/pgtable.c~mm-pgtable-dont-accumulate-addr-during-pgd-prepopulate-pmd +1 -3
@@ -240,7 +240,6 @@ static void pgd_mop_up_pmds(struct mm_ststatic void pgd_prepopulate_pmd (struct mm_struct *mm,pgd_t *pgd,pmd_t *pmds[]) {pud_t *pud; -unsigned long addr;int i;if (PREALLOCATED_PMDS ==0 )/* Work around gcc-3.4.x bug */
@@ -248,8 +247,7 @@ static void pgd_prepopulate_pmd(struct m pud =pud_offset (pgd,0 ); -for (addr = i =0 ; i <PREALLOCATED_PMDS ; - i++, pud++, addr +=PUD_SIZE ) { +for (i =0 ; i <PREALLOCATED_PMDS ; i++, pud++) {pmd_t *pmd = pmds[i];if (i >=KERNEL_PGD_BOUNDARY )
_
Patches currently in -mm which might be from [email protected] are
origin.patch
linux-next.patch