Re: [RFC][PATCH] KVM: Introduce direct MSI message injection for in-kernel irqchips

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

 



On Mon, Oct 24, 2011 at 06:10:28PM +0200, Jan Kiszka wrote:
> On 2011-10-24 18:05, Michael S. Tsirkin wrote:
> >> This is what I have in mind:
> >>  - devices set PBA bit if MSI message cannot be sent due to mask (*)
> >>  - core checks&clears PBA bit on unmask, injects message if bit was set
> >>  - devices clear PBA bit if message reason is resolved before unmask (*)
> > 
> > OK, but practically, when exactly does the device clear PBA?
> 
> Consider a network adapter that signals messages in a RX ring: If the
> corresponding vector is masked while the guest empties the ring, I
> strongly assume that the device is supposed to take back the pending bit
> in that case so that there is no interrupt inject on a later vector
> unmask operation.
> 
> Jan

Do you mean virtio here? Do you expect this optimization to give
a significant performance gain?

> -- 
> Siemens AG, Corporate Technology, CT T DE IT 1
> Corporate Competence Center Embedded Linux
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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