From: Keir Fraser Subject: Re: RFC: [0/2] Remove netloop by lazy copying in netback Date: Tue, 27 Mar 2007 14:50:19 +0100 Message-ID: References: <20070327111151.GA26126@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070327111151.GA26126@gondor.apana.org.au> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Herbert Xu , Keir Fraser Cc: Isaku Yamahata , Xen Development Mailing List List-Id: xen-devel@lists.xenproject.org On 27/3/07 12:11, "Herbert Xu" wrote: > OK, you got me there :) > > Of course I'd still like to avoid this if possible since it introduces > another change from Linux. Yeah, that's fair enough. We've avoided PV-driver dependencies on changes in core architectural code so far. It would be nice to continue this, particularly given we now support PV-on-HVM (ie., PV-on-otherwise-unmodified-guest). Of course we'd only be introducing a dependency for a *backend* driver here. Your thought of using the accessed bit is rather neat. I believe it is guaranteed that if we test-and-clear a pte, and see A==0, then no TLB can cache that pte. If so, I think this could be a winner. -- Keir