linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>,
	"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
	linux-parisc@vger.kernel.org, linux-mm@kvack.org
Subject: Re: 4.0-rc1/PARISC: BUG: non-zero nr_pmds on freeing mm
Date: Wed, 25 Feb 2015 22:47:43 +0200	[thread overview]
Message-ID: <20150225204743.GA31668@node.dhcp.inet.fi> (raw)
In-Reply-To: <20150225123048.a9c97ea726f747e029b4688a@linux-foundation.org>

On Wed, Feb 25, 2015 at 12:30:48PM -0800, Andrew Morton wrote:
> On Wed, 25 Feb 2015 22:21:30 +0200 "Kirill A. Shutemov" <kirill@shutemov.name> wrote:
> 
> > On Wed, Feb 25, 2015 at 12:54:54AM +0200, Aaro Koskinen wrote:
> > > Hi,
> > > 
> > > Here's a kernel config to reproduce the issue (no special steps needed,
> > > just boot to userspace), and bootlog after that:
> > > 
> > > #
> > > # Automatically generated file; DO NOT EDIT.
> > > # Linux/parisc 4.0.0-rc1 Kernel Configuration
> > ...
> > > [   18.940000] BUG: non-zero nr_pmds on freeing mm: -6
> > 
> > It happens due missing __PAGETABLE_PMD_FOLDED in custom page table
> > folding. This has been fixed in CONFIG_PGTABLE_LEVELS patcheset.
> > 
> > Andrew, are you going to submit that patchset to Linus in this cycle?
> 
> I wasn't planning on doing so - the changelog didn't say anything about
> fixing any regressions.

My bad. Patch 18/19 of the patchset introduced assert which checks that
folded macros are not missed and fixed all cases which trigger it.

> > If not, I can prepare a patchset which only adds missing
> > __PAGETABLE_PUD_FOLDED and __PAGETABLE_PMD_FOLDED.
> 
> Something simple would be preferred, but I don't know how much simpler
> the above would be?

Not much simplier: __PAGETABLE_PMD_FOLDED is missing in frv, m32r, m68k,
mn10300, parisc and s390.

-- 
 Kirill A. Shutemov

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2015-02-25 20:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-24 22:54 Aaro Koskinen
2015-02-25 20:21 ` Kirill A. Shutemov
2015-02-25 20:30   ` Andrew Morton
2015-02-25 20:47     ` Kirill A. Shutemov [this message]
2015-02-25 21:31       ` Andrew Morton
2015-02-25 21:57         ` Kirill A. Shutemov
2015-02-25 22:13           ` Andrew Morton

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=20150225204743.GA31668@node.dhcp.inet.fi \
    --to=kirill@shutemov.name \
    --cc=aaro.koskinen@iki.fi \
    --cc=akpm@linux-foundation.org \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=linux-mm@kvack.org \
    --cc=linux-parisc@vger.kernel.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