]> git.karo-electronics.de Git - karo-tx-linux.git/commit
virtio: support unlocked queue kick
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Nov 2011 23:07:38 +0000 (10:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 14 Nov 2011 23:10:06 +0000 (10:10 +1100)
commita0371cc1b8d7dea8edf1f16c28e2ae2182504687
treee54201373801a94821637c4c76797f5f11af2d3d
parentd3f47d7127ff1ec414364ce34bc6fcc9f13d02bd
virtio: support unlocked queue kick

Based on patch by Christoph for virtio_blk speedup:

Split virtqueue_kick to be able to do the actual notification
outside the lock protecting the virtqueue.  This patch was
originally done by Stefan Hajnoczi, but I can't find the
original one anymore and had to recreated it from memory.
Pointers to the original or corrections for the commit message
are welcome.

Stefan's patch was here:

https://github.com/stefanha/linux/commit/a6d06644e3a58e57a774e77d7dc34c4a5a2e7496
http://www.spinics.net/lists/linux-virtualization/msg14616.html

Third time's the charm!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_ring.c
include/linux/virtio.h