Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 13 Dec 2006 07:20:48 -0600 | From | Robin Holt <> | Subject | Re: VM_RESERVED vs vm_normal_page() |
| |
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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |