From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [patch 6/6] netif_release_rx_bufs Date: Fri, 18 Aug 2006 13:34:25 +0200 Message-ID: <44E5A5C1.7080703@suse.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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 devel list List-Id: xen-devel@lists.xenproject.org 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 ... cheers, Gerd -- Gerd Hoffmann http://www.suse.de/~kraxel/julika-dora.jpeg