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/
Home Products Support Community News


Re: [Xen-devel] [patch 6/6] netif_release_rx_bufs

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [patch 6/6] netif_release_rx_bufs
From: Gerd Hoffmann <kraxel@xxxxxxx>
Date: Fri, 18 Aug 2006 13:34:25 +0200
Cc: Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 18 Aug 2006 05:03:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C10B3ECB.10D9%Keir.Fraser@xxxxxxxxxxxx>
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: <C10B3ECB.10D9%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20060725)
Keir Fraser wrote:
> You've given up the original mfns at this point, to ensure you have enough
> reservation headroom for the transfer. You'll be wanting to give the 'empty
> mfn' to the balloon driver, which can simply stick the page on its
> ballooned-out list. You might need to add a new API function to balloon
> driver to do this.

Passing the page to the balloon driver works ok, but then I have trouble
releasing the skb because shinfo(skb)->frags[0].page isn't valid any
more.  Guess I better aquire a page from xen in netfront instead of
letting the ballon driver do that ...


Gerd Hoffmann <kraxel@xxxxxxx>

Xen-devel mailing list