LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Re: + mm-fix-false-positive-warning-on-exit-due-mm_nr_pmdsmm.patch added to -mm tree
       [not found] <54c69dbb.9IbFgxgVUFfaIvqP%akpm@linux-foundation.org>
@ 2015-01-29 15:35 ` Kirill A. Shutemov
  2015-01-29 15:37 ` Kirill A. Shutemov
  1 sibling, 0 replies; 2+ messages in thread
From: Kirill A. Shutemov @ 2015-01-29 15:35 UTC (permalink / raw)
  To: linux-kernel
  Cc: kirill.shutemov, gxt, james.hogan, linux, nm, tyler.baker, mm-commits

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: 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: + mm-fix-false-positive-warning-on-exit-due-mm_nr_pmdsmm.patch added to -mm tree
       [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
  1 sibling, 0 replies; 2+ messages in thread
From: Kirill A. Shutemov @ 2015-01-29 15:37 UTC (permalink / raw)
  To: linux-kernel, akpm
  Cc: kirill.shutemov, gxt, james.hogan, linux, nm, tyler.baker, mm-commits

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-29 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).