Re: [PATCH 2/5] virtio: support unlocked queue kick

From: Stefan Hajnoczi
Date: Thu Oct 06 2011 - 04:42:25 EST

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:

Or as an email if you want to track it down in your inbox:

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at