[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49D8D809.8040503@redhat.com>
Date: Sun, 05 Apr 2009 19:10:49 +0300
From: Avi Kivity <avi@...hat.com>
To: Anthony Liguori <anthony@...emonkey.ws>
CC: Rusty Russell <rusty@...tcorp.com.au>,
Gregory Haskins <ghaskins@...ell.com>,
linux-kernel@...r.kernel.org, agraf@...e.de, pmullaney@...ell.com,
pmorreale@...ell.com, netdev@...r.kernel.org, kvm@...r.kernel.org
Subject: Re: [RFC PATCH 00/17] virtual-bus
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists