From: Keir Fraser Subject: Re: Regarding page table management changes from Xen v1 to Xen v2 (and v3) Date: Wed, 26 Apr 2006 17:18:28 +0100 Message-ID: References: <20060426153556.GB27766@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: <20060426153556.GB27766@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 16:35, Himanshu Raj wrote: > I am trying to understand the rationale behind this change. In > previous case, > there would be no page faults due to page table updates and only one > hypercall. > In the second case, there would be atleast 2 page faults due to PT > management > activity, but no hypercalls. Besides, mapping and remapping with > different permissions > imply removing this entry from TLB (which is hopefully being done with > invlpg). > Benefit of latter approach only seems to be the removal of xen > specific linux > code. Why was the approach changed? Could someone please shed some > light on > this? It's useful for batched updates (e.g., fork()) where the 2 faults are amortised across up to 1024 pte changes. -- Keir