Re: assign-dev: Purpose of interrupt_work

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

 



Avi Kivity wrote:
> On 10/12/2009 11:04 AM, Jan Kiszka wrote:
>>> I'd rather remove dev-passthrough completely than continue adding
>>> hack upon hack
>>> upon hack to make is some times kinda sorta work :)
>>>      
>> Hmm, is this code not needed for the VT-d&  Co. case?
> 
> It is needed.
> 
>> Or what is the
>> alternative?
>>    
> 
> irqfd (which only supports edge-triggered interrupts now).  Note irqfd
> needs the same love, it uses a workqueue as well.
> 
> The theory is:
>  fd1 = eventfd()
>  give fd1 to kvm as irqfd, vhost-net as trigger fd
>  fd2 = eventfd()
>  give fd2 to kvm as irqfd, uio as trigger fd
>  fd3 = evenfd()
>  give fd3 to kvm as irqfd, another kvm as ioeventfd
> 
> One interface, multiple users (in the kernel, userspace, or other
> processes)

I see to overall gain, but likely only worsens my objective (low
latency), at least it doesn't improve it.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux