Re: [PATCH] i386: remove dead code in pgtable_cache_init

From: Jeremy Fitzhardinge
Date: Wed Oct 10 2007 - 17:55:31 EST


Christoph Lameter wrote:
> I believe that virtualization support needed a full pgd.
>

Yes, Xen requires it for PAE pgds, at least at the moment. But native,
lguest, vmi and kvm don't. I'd made it so that the memory overhead was
only paid in the Xen case. Allocating a whole page all the time
certainly simplifies things, but at the cost of more overhead for everyone.

If we move away from using the page->private field to link the pgds
together, then I can probably remove Xen's need to allocate a whole page
for PAE pgds.

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