From: Herbert Xu Subject: Re: RFC: [0/2] Remove netloop by lazy copying in netback Date: Tue, 27 Mar 2007 11:17:03 +1000 Message-ID: <20070327011703.GA19964@gondor.apana.org.au> References: <20070327005233.GA19783@gondor.apana.org.au> <20070327010810.GA19900@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20070327010810.GA19900@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: Keir Fraser Cc: Xen Development Mailing List List-Id: xen-devel@lists.xenproject.org On Tue, Mar 27, 2007 at 11:08:10AM +1000, Herbert Xu wrote: > On Tue, Mar 27, 2007 at 02:02:39AM +0100, Keir Fraser wrote: > > > > Well, it could be a bit more work to change, but what does a p2m entry look > > like for a grant mapping? The p2m table should be a very convenient place to > > have typed entries, with one of those types being grant-mapping, and > > including the maptrack handle. The MFN can be derived from the maptrack > > handle where that is required. This would then conveniently be enough > > information to perform implicit unmaps (the lack of support of which is an > > annoying limitation for non-auto-translate guests which it would be really > > nice to avoid for auto-translate guests, particularly since it ought to be > > not really all that hard afaics). > > OK I'll look into this for the auto-translated case. Hmm where are we going to get space to store the grant handle? The p2m table itself is just a page table. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt