Re: changing physical page

From: Hugh Dickins
Date: Thu Feb 02 2006 - 12:15:43 EST


On Thu, 2 Feb 2006, yipee wrote:
>
> On a system running without swap, can there be a case in which the
> kernel decides to move (from one physical page to another)
> a dynamically-allocated page owned by a user program?

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".

The kernel is entitled to move them if it wishes, various people
are interested in page migration, and one application would be if
the system is short of free memory of a particular kind, and your
page is on such memory, and it would help to move it elsewhere.

Hugh
-
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/