From: "H. Peter Anvin" Subject: Re: [PATCH] paravirt/xen: add pvop for page_is_ram Date: Mon, 09 Mar 2009 18:07:47 -0700 Message-ID: <49B5BD63.1090909@zytor.com> References: <1235786365-17744-1-git-send-email-jeremy@goop.org> <1235786365-17744-10-git-send-email-jeremy@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1235786365-17744-10-git-send-email-jeremy@goop.org> Sender: linux-kernel-owner@vger.kernel.org To: Jeremy Fitzhardinge Cc: the arch/x86 maintainers , Linux Kernel Mailing List , Xen-devel , Jeremy Fitzhardinge List-Id: xen-devel@lists.xenproject.org Jeremy Fitzhardinge wrote: > From: Jeremy Fitzhardinge > > 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 > 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.