Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1283265

Re: [PATCH 0/5] Threaded MSI interrupt for VFIO PCI device

From Alex Williamson <alex.williamson@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/5] Threaded MSI interrupt for VFIO PCI device
Date 2015-12-03 20:00 +0100
Message-ID <qBHgK-qe-15@gated-at.bofh.it> (permalink)
References <qBGXo-j5-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 2015-12-03 at 10:22 -0800, Yunhong Jiang wrote:
> When assigning a VFIO device to a KVM guest with low latency requirement, it  
> is better to handle the interrupt in the hard interrupt context, to reduce 
> the context switch to/from the IRQ thread.
> 
> Based on discussion on https://lkml.org/lkml/2015/10/26/764, the VFIO msi 
> interrupt is changed to use request_threaded_irq(). The primary interrupt 
> handler tries to set the guest interrupt atomically. If it fails to achieve 
> it, a threaded interrupt handler will be invoked.
> 
> The irq_bypass manager is extended for this purpose. The KVM eventfd will 
> provide a irqbypass consumer to handle the interrupt at hard interrupt 
> context. The producer will invoke the consumer's handler then.

Do you have any performance data?  Thanks,

Alex

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/5] Threaded MSI interrupt for VFIO PCI device Yunhong Jiang <yunhong.jiang@linux.intel.com> - 2015-12-03 19:40 +0100
  [PATCH 2/5] VIRT: Support runtime irq_bypass consumer Yunhong Jiang <yunhong.jiang@linux.intel.com> - 2015-12-03 19:40 +0100
  [PATCH 1/5] KVM: Extract the irqfd_wakeup_pollin/irqfd_wakeup_pollup Yunhong Jiang <yunhong.jiang@linux.intel.com> - 2015-12-03 19:40 +0100
  [PATCH 3/5] VFIO: Support threaded interrupt handling on VFIO Yunhong Jiang <yunhong.jiang@linux.intel.com> - 2015-12-03 19:40 +0100
  Re: [PATCH 0/5] Threaded MSI interrupt for VFIO PCI device Alex Williamson <alex.williamson@redhat.com> - 2015-12-03 20:00 +0100
    Re: [PATCH 0/5] Threaded MSI interrupt for VFIO PCI device Yunhong Jiang <yunhong.jiang@linux.intel.com> - 2015-12-03 23:50 +0100

csiph-web