From: Keir Fraser Subject: Re: Regarding page table management changes from Xen v1 to Xen v2 (and v3) Date: Wed, 26 Apr 2006 18:59:12 +0100 Message-ID: <4a88b13604fd55ca3de939753aa53591@cl.cam.ac.uk> References: <20060426153556.GB27766@cc.gatech.edu> <20060426174057.GD27766@cc.gatech.edu> <996dd63a2b16daf5879aff5b6faaf1f7@cl.cam.ac.uk> <20060426175648.GF27766@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: <20060426175648.GF27766@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:56, Himanshu Raj wrote: > In another example, mmapped access to a file, the new approach will > incur these > two extra faults for every page fault required to bring a file page to > page cache, > right? All the common non-batched paths (i.e., demand faults) use update_va_mapping(), so do a single fast hypercall. > Could you tell me another example other than fork when one can use > batched PTE > modifications. fork() is the only one for us these days. All others use update_va_mapping(), act on pagetables that aren't pinned (so the guest can directly update them without faulting) or are infrequent enough we do not care. -- Keir