Re: changing physical page

From: Gleb Natapov
Date: Sun Feb 05 2006 - 02:00:09 EST


On Sat, Feb 04, 2006 at 03:20:00PM +0000, Hugh Dickins wrote:
> On Sat, 4 Feb 2006, yipee wrote:
> > Hugh Dickins <hugh <at> veritas.com> writes:
> > > I'll assume that when you say "page owned by a user program", you're
> > > meaning a private page, not a shared file page mapped into the program.
> > >
> > > If you're asking about what currently happens, the answer is "No".
> > >
> > > If you're asking about what you can assume, the answer is "Yes".
> >
> > So you are saying that the current kernel doesn't move these kind of pages?
>
> If you don't have swap (one of the conditions you gave), yes.
>
And what if application forks and writes to the private page? Kernel
actually memcpy the page to another location.

--
Gleb.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/