Re: [Qemu-devel] [PATCH RFC] virtio: put last seen used index intoring itself

From: Michael S. Tsirkin
Date: Thu May 20 2010 - 06:08:54 EST


On Thu, May 20, 2010 at 02:31:50PM +0930, Rusty Russell wrote:
> Can we do better? The obvious idea is to try to get rid of last_used and
> used, and use the ring itself. We would use an invalid entry to mark the
> head of the ring.
>
> Any other thoughts?
> Rusty.

We also need a way to avoid interrupts at least while we are
processing the ring.

--
MST
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/