[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150129153510.GA21698@node.dhcp.inet.fi>
Date: Thu, 29 Jan 2015 17:35:10 +0200
From: "Kirill A. Shutemov" <kirill@...temov.name>
To: linux-kernel@...r.kernel.org
Cc: kirill.shutemov@...ux.intel.com, gxt@...c.pku.edu.cn,
james.hogan@...tec.com, linux@....linux.org.uk, nm@...com,
tyler.baker@...aro.org, mm-commits@...r.kernel.org
Subject: Re: + mm-fix-false-positive-warning-on-exit-due-mm_nr_pmdsmm.patch
added to -mm tree
On Mon, Jan 26, 2015 at 12:04:11PM -0800, akpm@...ux-foundation.org wrote:
> diff -puN arch/unicore32/mm/pgd.c~mm-fix-false-positive-warning-on-exit-due-mm_nr_pmdsmm arch/unicore32/mm/pgd.c
> --- a/arch/unicore32/mm/pgd.c~mm-fix-false-positive-warning-on-exit-due-mm_nr_pmdsmm
> +++ a/arch/unicore32/mm/pgd.c
> @@ -69,6 +69,7 @@ pgd_t *get_pgd_slow(struct mm_struct *mm
>
> no_pte:
> pmd_free(mm, new_pmd);
> + mm_dec_nr_pmds(mm);
> no_pmd:
> free_pages((unsigned long)new_pgd, 0);
> no_pgd:
> @@ -96,7 +97,9 @@ void free_pgd_slow(struct mm_struct *mm,
> pte = pmd_pgtable(*pmd);
> pmd_clear(pmd);
> pte_free(mm, pte);
> + atomic_long_dec(&mm->nr_ptes);
> pmd_free(mm, pmd);
> + mm_dec_nr_pmds(mm)
> free:
> free_pages((unsigned long) pgd, 0);
> }
>From 77c258a2489f67a5019a29469650e9bca70645d9 Mon Sep 17 00:00:00 2001
From: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Date: Thu, 29 Jan 2015 14:39:17 +0200
Subject: [PATCH] unicore32: add missed semicolon
---
arch/unicore32/mm/pgd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/unicore32/mm/pgd.c b/arch/unicore32/mm/pgd.c
index 1bc00d0305d4..2ade20d8eab3 100644
--- a/arch/unicore32/mm/pgd.c
+++ b/arch/unicore32/mm/pgd.c
@@ -99,7 +99,7 @@ void free_pgd_slow(struct mm_struct *mm, pgd_t *pgd)
pte_free(mm, pte);
atomic_long_dec(&mm->nr_ptes);
pmd_free(mm, pmd);
- mm_dec_nr_pmds(mm)
+ mm_dec_nr_pmds(mm);
free:
free_pages((unsigned long) pgd, 0);
}
--
Kirill A. Shutemov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists