linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Lameter <cl@linux-foundation.org>
To: mark gross <mgross@linux.intel.com>
Cc: linux-mm@kvack.org, npiggin@suse.de
Subject: Re: possible bug in find_get_pages
Date: Fri, 6 Mar 2009 14:28:50 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.1.10.0903061426190.20182@qirst.com> (raw)
In-Reply-To: <20090306192625.GA3267@linux.intel.com>

On Fri, 6 Mar 2009, mark gross wrote:

> It seems that page->_count == 0 at some point on some overnight runs
> with locks the system into a tight loop from the repeat: and a goto
> repeat in find_get_pages.

A page with ref count zero should not be in any mapping. If the page is in
a mapping then the page is used. Therefore the refcount should be > 0.

If there is a page with zero refcount and its in a mapping then something
erroneously decreased the refcount.

Nick wrote the code so I CCed him.

--
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:[~2009-03-06 19:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-06 19:26 mark gross
2009-03-06 19:28 ` Christoph Lameter [this message]
2009-03-06 21:13   ` mark gross
2009-03-06 21:29     ` Christoph Lameter
2009-03-10 10:49   ` Nick Piggin
2009-03-06 23:47 ` Minchan Kim
2009-03-09 16:43   ` mark gross
2009-03-10 10:45     ` Nick Piggin
2009-03-10 22:49       ` mark gross

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=alpine.DEB.1.10.0903061426190.20182@qirst.com \
    --to=cl@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    --cc=mgross@linux.intel.com \
    --cc=npiggin@suse.de \
    /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