lkml.org 
[lkml]   [2009]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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



\
 
 \ /
  Last update: 2009-04-05 18:13    [W:2.352 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site