The following tree has fixes for vhost-net for 2.6.39.
These are easier to apply on top of Jason's and Krishna's
cleanups, and they got tested this way, so I thought it's
better for everyone to include that, and the trivial
copy_from_user optimization.
But if you think it's too late for that, pls let me know
and I'll try to untangle that dependency.
Thanks!
The following changes since commit 1fc050a13473348f5c439de2bb41c8e92dba5588:
ipv4: Cache source address in nexthop entries. (2011-03-07 20:54:48 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost-net-next
Jason Wang (3):
vhost-net: check the support of mergeable buffer outside the receive loop
vhost-net: Unify the code of mergeable and big buffer handling
vhost: lock receive queue, not the socket
Krishna Kumar (1):
vhost: Cleanup vhost.c and net.c
Michael S. Tsirkin (2):
vhost: copy_from_user -> __copy_from_user
vhost-net: remove unlocked use of receive_queue
drivers/vhost/net.c | 159 ++++++++-----------------------------------------
drivers/vhost/vhost.c | 55 ++++++++++++-----
2 files changed, 64 insertions(+), 150 deletions(-)
From: "Michael S. Tsirkin" <mst at redhat.com> Date: Thu, 17 Mar 2011 16:04:04 +0200> The following changes since commit 1fc050a13473348f5c439de2bb41c8e92dba5588: > > ipv4: Cache source address in nexthop entries. (2011-03-07 20:54:48 -0800) > > are available in the git repository at: > git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost-net-next > > Jason Wang (3): > vhost-net: check the support of mergeable buffer outside the receive loop > vhost-net: Unify the code of mergeable and big buffer handling > vhost: lock receive queue, not the socket > > Krishna Kumar (1): > vhost: Cleanup vhost.c and net.c > > Michael S. Tsirkin (2): > vhost: copy_from_user -> __copy_from_user > vhost-net: remove unlocked use of receive_queuePulled, thanks.
Apparently Analagous Threads
- [PULL net-2.6] vhost: cleanups and fixes
- [PATCH] virtio-net: mergeable buffer size should include virtio-net header
- [PATCH] virtio-net: mergeable buffer size should include virtio-net header
- [PATCH net-next v6 0/6] virtio-net: mergeable rx buffer size auto-tuning
- [PATCH net-next v6 0/6] virtio-net: mergeable rx buffer size auto-tuning