From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Cc: kirill.shutemov@linux.intel.com, gxt@mprc.pku.edu.cn,
james.hogan@imgtec.com, linux@arm.linux.org.uk, nm@ti.com,
tyler.baker@linaro.org, mm-commits@vger.kernel.org
Subject: Re: + mm-fix-false-positive-warning-on-exit-due-mm_nr_pmdsmm.patch added to -mm tree
Date: Thu, 29 Jan 2015 17:37:01 +0200 [thread overview]
Message-ID: <20150129153701.GB21698@node.dhcp.inet.fi> (raw)
In-Reply-To: <54c69dbb.9IbFgxgVUFfaIvqP%akpm@linux-foundation.org>
On Mon, Jan 26, 2015 at 12:04:11PM -0800, akpm@linux-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@linux.intel.com>
Date: Thu, 29 Jan 2015 14:39:17 +0200
Subject: [PATCH] unicore32: 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
prev parent reply other threads:[~2015-01-29 15:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <54c69dbb.9IbFgxgVUFfaIvqP%akpm@linux-foundation.org>
2015-01-29 15:35 ` + mm-fix-false-positive-warning-on-exit-due-mm_nr_pmdsmm.patch added to -mm tree Kirill A. Shutemov
2015-01-29 15:37 ` Kirill A. Shutemov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150129153701.GB21698@node.dhcp.inet.fi \
--to=kirill@shutemov.name \
--cc=akpm@linux-foundation.org \
--cc=gxt@mprc.pku.edu.cn \
--cc=james.hogan@imgtec.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mm-commits@vger.kernel.org \
--cc=nm@ti.com \
--cc=tyler.baker@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox