[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel][RFC]degradation on IPF due to hypercall set irq



Keir Fraser write on 2006年11月22日 15:59:
> On 22/11/06 7:55 am, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx> wrote:
> 
>> Have an array of set_level hypercall structures, and an array of
>> multicall structures. Fill them in at the point we currently do the
>>  hypercall. Flush when: A) the array is already full; or
>>  B) when qemu passes through its event loop.
>> 
>> Make the arrays 16 entries large, for example, will be plenty.
>> 
>> Use the same mechanism for the notification (i.e., add to the
>> multicall array, to be flushed by qemu's main loop).
> 
> To clarify, by event/main loop I mean: Flush just before qemu blocks
> (otherwise multicall can be held for unbounded time, unless we set a
> batching timeout which hopefully we can avoid needing to do).

Seems good,

Is it possible that we add some file descriptors for some interrupts in qemu 
block (select)?
Then if there are any interrupts, qemu will be woke up.
In this case, we can only call multi-call just after qemu block.

--Anthony.




> 
>  -- Keir

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.