From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [patch 6/6] netif_release_rx_bufs Date: Thu, 17 Aug 2006 17:13:34 +0200 Message-ID: <44E4879E.2060302@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: >> I think we need either a way to get back pages with transfer grants >> without cooperation from the backend driver, or we need some way to say >> "pretty pretty please, give me back my rx buffers" to the netback driver. > > Unlike a map grant, you can reclaim a transfer grant at any time. The only > question is whether it has been used to transfer a page, or not. How can I do that? gnttab_end_foreign_transfer_ref() doesn't cut it, it will not succeed unconditionally ... cheers, Gerd -- Gerd Hoffmann http://www.suse.de/~kraxel/julika-dora.jpeg