Re: [PATCH -mm 1/3] i386 boot: replace boot_ioremap with enhancedbt_ioremap - enhance bt_ioremap

From: H. Peter Anvin
Date: Fri Jan 18 2008 - 10:03:56 EST


huang ying wrote:

If CONFIG_X86_PAE is defined, the set_pte, clear_pte etc will operate
3-level page tables, while on i386, the early page table is always
2-level, so set_pte, clear_pte etc functions can not be used here. The
boot_ioremap use a trick to deal with this problem. The CONFIG_X86_PAE
is undefined in arch/x86/mm/boot_ioremap_32.c unconditionally, so the
2-level page table handling function is always used.

Is the method used by boot_ioremap better for Xen?


Eric Biederman had a patchset that makes a PAE kernel use PAE page tables from the start. That is really The Right Thing[TM].

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