WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 5/5] changes of common files for xen/ia64 dom0 vp

To: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 5/5] changes of common files for xen/ia64 dom0 vp model: netback work around
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 28 Apr 2006 14:53:20 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 28 Apr 2006 06:53:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060428025600.GK10424%yamahata@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20060428025600.GK10424%yamahata@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 28 Apr 2006, at 03:56, Isaku Yamahata wrote:

Work around for vnif support of xen/ia64 with dom0 vp model.
This is a temporal work around until figuring out how to place a new page
after grant table page transfer.

Does netback work *at all* for you with vp model? Looks like this patch may make it build but not actually work, which makes it seem a bit pointless.

Anyway, two possible solutions are apparent to me:
1. netback gathers 'transmitted' skbuffs and then, in one batch, does a populate_physmap() call to get new pages for all of them, the kfree_skb()s each one back to system pool. 2. change semantics of grant transfers for vp guests so that the operation automatically gets you a fresh page at the same pseudo-physical address.

Option (2) is maybe the better one? Then this patch would make more sense (except that the code would be made run-time dependent on autotranslate feature flag).

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel