|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [patch 6/6] netif_release_rx_bufs
On 17/8/06 3:13 pm, "Gerd Hoffmann" <kraxel@xxxxxxx> wrote:
> This patch adds a netif_release_rx_bufs() function to the netfront
> driver. It intends to fix the rx buffer page leak. Unfortunaly it
> doesn't work perfectly, the reason is that reclaiming the pages granted
> to the backend driver works only if the backend driver gave them back
> already, filled with network data. Reclaiming unfilled rx buffers does
> NOT work.
>
> 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.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|