]> git.karo-electronics.de Git - karo-tx-linux.git/commit
virtio: support unlocked queue kick
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 4 Dec 2011 23:33:29 +0000 (10:33 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sun, 4 Dec 2011 23:33:29 +0000 (10:33 +1100)
commitb0fbd70c98242fe16753b26fdd45aaede02a3234
tree6fd067682a9e9b36eb83239b3cc3a6d1e16aca21
parent7bb7aef2f95bdf96620959a7cd8cc77903b65882
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