Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.

From: Rafael J. Wysocki
Date: Mon Jan 28 2008 - 15:32:12 EST


On Monday, 28 of January 2008, H. Peter Anvin wrote:
> Jeremy Fitzhardinge wrote:
> > H. Peter Anvin wrote:
> >> and we already have to have code to synchronize the PGDs on !PAE and
> >> the PMDs on Xen (although that was supposedly getting fixed).
> >
> > No, I don't have any plans there. Xen will continue to require
> > non-shared kernel pmd, at least for a 32-bit host. I think the point is
> > that nothing that requires an identity mapping will work under Xen
> > anyway, so Xen just doesn't care about this case.
> >
>
> Still makes it a special case, not just for this.

In fact swsusp creates its own temporary page tables for restoring the last
part of the image. Please have a look at
arch/x86/kernel/suspend_*_64.c and the files in arch/x86/power (most
importantly suspend.c).

Thanks,
Rafael
--
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/