Re: A question about anonymous page

From: Hugh Dickins
Date: Fri Jan 14 2005 - 16:58:36 EST


On Fri, 14 Jan 2005, Hsu I-Chieh wrote:
>
> I want to know if there is any condition that anonymous pages (allocated by
> do_anonymous_page) may be mapped in process page tables two or more times.

An anonymous page mapped at different places in a single user address space?
No (except for the reserved zero page, used on read fault). But mapped into
different user address spaces, forked off from a common ancestor? Yes (and
might even be at different positions if mremap has been used to move some).

Unless we have a bug - why do you ask?

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/