From: Keir Fraser Subject: Re: Hypercall interface changes for PAE Date: Tue, 31 May 2005 22:40:26 +0100 Message-ID: References: <20050530125247.GA12140@bytesex> <61adb21cca3abe8c474f66040037da6a@cl.cam.ac.uk> <20050531101851.GB22211@bytesex> <20050531113614.GB22913@bytesex> <15fad2b24c731550fee5cffc747ae3c9@cl.cam.ac.uk> <8013a228218edd6c3b74a5b5974e0553@cl.cam.ac.uk> <20050531190208.GA28168@bytesex> <20050531203833.GC28168@bytesex> <21535082fb7d0624c1fc6606b537157f@cl.cam.ac.uk> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21535082fb7d0624c1fc6606b537157f@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Gerd Knorr , xen-devel List List-Id: xen-devel@lists.xenproject.org On 31 May 2005, at 22:18, Keir Fraser wrote: > The code that would be affected by an interface difference is > precisely that code which manipulates page tables, and so is already > broken by the different pagetable format. The only way unmodified > non-pae code could possibly be made to work is by using shadow page > tables. In that case we would hook off the call to e.g., > do_mmu_update() very early anyway (off into shadow code). Hardly > different really from jumping in the first place at a different > hypercall function with different prototype: this latter would > arguably be cleaner and less cluttered, as well as easily allowing us > to support non-pae hypercall interface within pae xen. > > I really think that creating this interface inconsistency is not > something to be worried about. I'll repeat again, though, that I'm neutral on this. A larger mmu_update_t and extra register argument to update_va_mapping is not going to noticeably slow down non-pae i386. -- Keir