Rusty Russell
2008-Oct-16 05:08 UTC
[PATCH 1/2] virtio_net: Recycle some more rx buffer pages
On Thursday 09 October 2008 06:34:58 Mark McLoughlin wrote:> Each time we re-fill the recv queue with buffers, we allocate > one too many skbs and free it again when adding fails. We should > recycle the pages allocated in this case. > > A previous version of this patch made trim_pages() trim trailing > unused pages from skbs with some paged data, but this actually > caused a barely measurable slowdown.Yes, I noticed a similar effect. Not quite sure why though. Applied. Thanks! Rusty.
Maybe Matching Threads
- [PATCH 2/2] virtio_net: Improve the recv buffer allocation scheme
- [PATCH 2/2] virtio_net: Improve the recv buffer allocation scheme
- [PATCH 5/5] virtio_net: Recycle unused recv buffer pages for large skbs in net driver
- [PATCH 5/5] virtio_net: Recycle unused recv buffer pages for large skbs in net driver
- [PATCH] virtio_net: free transmit skbs in a timer