From: Keir Fraser Subject: Re: Regarding page table management changes from Xen v1 to Xen v2 (and v3) Date: Wed, 26 Apr 2006 18:44:24 +0100 Message-ID: <996dd63a2b16daf5879aff5b6faaf1f7@cl.cam.ac.uk> References: <20060426153556.GB27766@cc.gatech.edu> <20060426174057.GD27766@cc.gatech.edu> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060426174057.GD27766@cc.gatech.edu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Himanshu Raj Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 26 Apr 2006, at 18:40, Himanshu Raj wrote: > Although, same results can be obtained by doing the v1.2 way, i.e. > making one > hypercall requesting these 1024 changes, no? > > -Himanshu You have to marshal/unmarshal the batched arguments, and insert flushes all over the place to ensure the requests get flushed before Linux next tries to read any of the ptes. So the new method is fewer changes to the guest and no slower for reasonable-sized batches. -- Keir