Re: [patch 05/21] Xen-paravirt: paravirt_ops: allocate a fixmap slot

Dan Hecht
2007-02-14T01:24:14Z

On 02/13/2007 02:17 PM, Jeremy Fitzhardinge wrote:
> Allocate a fixmap slot for use by a paravirt_ops implementation. Xen
> uses this to map the hypervisor's shared info page, which doesn't have
> a pseudo-physical page number, and therefore can't be mapped
> ordinarily.
>

Why doesn't Xen allocate the shared_info page from the pseudo-physical
space? Doesn't it already have to steal pages from the pseudo-physical
space for e.g. initial page tables, console, etc? Why not do the same
for shared_info, and then you don't need a reserve the fixmap slot.

Dan