Re: [PATCH] abstract out bits of ldt.c

From: Chris Wright
Date: Sun Aug 07 2005 - 20:36:45 EST


* Zachary Amsden (zach@xxxxxxxxxx) wrote:
> Doesn't that require 16 pages per CPU? That seems excessive to impose
> on a native build. Perhaps we could get away with 1 page per CPU for
> the GDT on native boots and bump that up to 16 if compiling for a
> virtualized sub-architecture - i.e. move GDT to a page aligned struct
> for native (doesn't cost too much), and give it MACH_GDT_PAGES of space
> which is defined by the sub-architecture.

For Xen, the gdt is one page per cpu (so it's not one page per table
entry).

thanks,
-chris
-
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/