diff options
author | Jason Wang <jasowang@redhat.com> | 2016-04-25 22:14:33 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-08-01 21:44:51 +0300 |
commit | 04b96e5528ca97199b429810fe963185a67dd40e (patch) | |
tree | 35cef78e529e6fb49c34159f58d19fb07f54de3e /drivers/usb | |
parent | 7235acdb1144460d9f520f0d931f3cbb79eb244c (diff) | |
download | op-kernel-dev-04b96e5528ca97199b429810fe963185a67dd40e.zip op-kernel-dev-04b96e5528ca97199b429810fe963185a67dd40e.tar.gz |
vhost: lockless enqueuing
We use spinlock to synchronize the work list now which may cause
unnecessary contentions. So this patch switch to use llist to remove
this contention. Pktgen tests shows about 5% improvement:
Before:
~1300000 pps
After:
~1370000 pps
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions