Re: [PATCH] kvm: fast-path msi injection with irqfd

2010-11-22 Thread Avi Kivity
On 11/18/2010 07:09 PM, Michael S. Tsirkin wrote: Store irq routing table pointer in the irqfd object, and use that to inject MSI directly without bouncing out to a kernel thread. While we touch this structure, rearrange irqfd fields to make fastpath better packed for better cache utilization.

Re: [PATCH] kvm: fast-path msi injection with irqfd

2010-11-19 Thread Marcelo Tosatti
On Thu, Nov 18, 2010 at 07:09:08PM +0200, Michael S. Tsirkin wrote: Store irq routing table pointer in the irqfd object, and use that to inject MSI directly without bouncing out to a kernel thread. While we touch this structure, rearrange irqfd fields to make fastpath better packed for

Re: [PATCH] kvm: fast-path msi injection with irqfd

2010-11-19 Thread Gregory Haskins
On 11/19/2010 at 10:54 AM, in message 20101119155427.ga20...@amt.cnet, Marcelo Tosatti mtosa...@redhat.com wrote: On Thu, Nov 18, 2010 at 07:09:08PM +0200, Michael S. Tsirkin wrote: Store irq routing table pointer in the irqfd object, and use that to inject MSI directly without bouncing out

[PATCH] kvm: fast-path msi injection with irqfd

2010-11-18 Thread Michael S. Tsirkin
Store irq routing table pointer in the irqfd object, and use that to inject MSI directly without bouncing out to a kernel thread. While we touch this structure, rearrange irqfd fields to make fastpath better packed for better cache utilization. This also adds some comments about locking rules