Re: [PATCH/RFC] Shared page tables

From: Dave McCracken
Date: Mon Jan 23 2006 - 19:59:23 EST



--On Monday, January 23, 2006 18:53:54 -0600 Ray Bryant
<raybry@xxxxxxxxxxxxxxxxx> wrote:

> Isn't it the case that if the region is large enough (say >> 2MB), that
> randomized mmaps will just cause the first partial page of pte's to not
> be shareable, and as soon as we have a full pte page mapped into the
> file that the full pte pages will be shareable, etc, until the last
> (partial) pte page is not shareable?

Yes, but only if the 2MB alignment is the same. And with the current
version of my patch the region has to be mapped at the same address in both
processes. Sorry.

Dave

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