linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Robin Holt <holt@sgi.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Linux Memory Management <linux-mm@kvack.org>,
	Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: VM_RESERVED vs vm_normal_page()
Date: Wed, 13 Dec 2006 07:20:48 -0600	[thread overview]
Message-ID: <20061213132048.GB30950@lnx-holt.americas.sgi.com> (raw)
In-Reply-To: <1165984677.11914.159.camel@localhost.localdomain>

On Wed, Dec 13, 2006 at 03:37:57PM +1100, Benjamin Herrenschmidt wrote:
> Hi folks !
> 
> What is the logic regarding VM_RESERVED, and more specifically, why is
> vm_normal_page() nor returning NULL for these ?

Near as I could ever tell from the discussion on linux-mm, it is a page
which should not be dumped.  If you have a normal page in a mapping
which you don't want swapped out, the only way I could ever figure to
prevent that from happening is by doing an extra get_user_page() on it
to add a reference.

Thanks,
Robin

--
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:[~2006-12-13 13:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-13  4:37 Benjamin Herrenschmidt
2006-12-13 13:20 ` Robin Holt [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=20061213132048.GB30950@lnx-holt.americas.sgi.com \
    --to=holt@sgi.com \
    --cc=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.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