Re: [PATCH 6/6] i386 virtualization - Attempt to clean up pgtable code motion

From: Chris Wright
Date: Tue Aug 16 2005 - 01:44:46 EST


* zach@xxxxxxxxxx (zach@xxxxxxxxxx) wrote:
> Virtualization aware Linux kernels may need to redefine functions which write
> to hardware page tables at the sub-architecture layer. Previously, this was
> done by encapsulation in a split mach-xxx/pgtable-{2|3}level-ops.h file, but
> having 8 pgtable header files is simply unacceptable. This goes some ways
> towards cleaning that up by deprecating the 2/3 level subarch functions.
> This is accomplished by using __HAVE_ARCH_FUNC macros, and allowing
> one sub-arch file, pgtable-ops.h, which gets included before any functions
> which write to hardware page tables, allowing the sub-architecture to override
> any or all definitions it needs.

This looks like a better tradeoff.
-
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/