]> git.karo-electronics.de Git - karo-tx-linux.git/commit
virtio: support unlocked queue kick
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Nov 2011 00:08:59 +0000 (11:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 22 Nov 2011 00:08:59 +0000 (11:08 +1100)
commit36668459f9a1b47ff2e432ca36476a7b612e9b63
treeb9f9af9bdd8e7d07e11121ea639071c0f6667cf6
parent7fedd144d5836049baf5f8bb89adf294e025a75a
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