On Wed, Oct 05, 2011 at 03:54:05PM -0400, Christoph Hellwig wrote: > 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. Here is the patch: https://github.com/stefanha/linux/commit/a6d06644e3a58e57a774e77d7dc34c4a5a2e7496 Or as an email if you want to track it down in your inbox: http://www.spinics.net/lists/linux-virtualization/msg14616.html The code you posted is equivalent, the only additional thing my patch did was to update doc comments in include/linux/virtio.h. Feel free to grab my patch or just the hunk. Stefan -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html