Re: [PATCH] paravirt/xen: add pvop for page_is_ram

From: H. Peter Anvin
Date: Mon Mar 09 2009 - 21:11:24 EST


Jeremy Fitzhardinge wrote:
> From: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
>
> A guest domain may have external pages mapped into its address space,
> in order to share memory with other domains. These shared pages are
> more akin to io mappings than real RAM, and should not pass the
> page_is_ram test. Add a paravirt op for this so that a hypervisor
> backend can validate whether a page should be considered ram or not.
>
> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
>

Why are these pages mapped as RAM in the memory map? That is the right
way to handle that, not by adding yet another bloody hook...

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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