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

Jeremy Fitzhardinge
2008-01-25T00:12:10Z

H. Peter Anvin wrote:
> Yeah, I'm aware of this particular piece of Xen braindamage, and
> although I had some very unkind words to say about it, it mirrors what
> we have to do for the !PAE case anyway, so it can be sort of glossed
> over.

Sort of. If Xen weren't an issue, then both cases are a matter of
copying a set of entries from one place in the pgd to another.

It would be easy enough to add some code on xen side to look for pmd
aliases when using/pinning a pagetable, and allocate'n'copy a new pmd
page as needed. That way the core code can ignore the issue.

J