Re: [RFC PATCH 00/17] virtual-bus

From: Avi Kivity
Date: Sun Apr 05 2009 - 12:11:22 EST


Anthony Liguori wrote:

What we need is:

1) Lockless MMIO/PIO dispatch (there should be two IO registration interfaces, a new lockless one and the legacy one)

Not sure exactly how much this is needed, since when there is no contention, locks are almost free (there's the atomic and cacheline bounce, but no syscall).

For any long operations, we should drop the lock (of course we need some kind of read/write lock or rcu to avoid hotunplug or reconfiguration).

2) A virtio-net thread that's independent of the IO thread.

Yes -- that saves us all the select() prologue (calculating new timeout) and the select() itself.



--
error compiling committee.c: too many arguments to function

--
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/