Messages in this thread |  | | | Date | Fri, 18 Jan 2008 09:54:08 -0500 | | From | "H. Peter Anvin" <> | | Subject | Re: [PATCH -mm 1/3] i386 boot: replace boot_ioremap with enhanced bt_ioremap - enhance bt_ioremap | |
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
|  |