On Wed, Nov 19, 2014 at 06:11:25PM +0800, Shannon Zhao wrote: > When call kvm_vgic_inject_irq to inject interrupt, we can known which > vcpu the interrupt for by the irq_num and the cpuid. So we should just > kick this vcpu to avoid iterating through all. > > Signed-off-by: Shannon Zhao <zhaoshenglong@xxxxxxxxxx> This looks reasonable to me: Reviewed-by: Christoffer Dall <christoffer.dall@xxxxxxxxxx> But as Marc said, we have to consider the churn by introducing more changes to the vgic (that file is being hammered pretty intensely these days), so if you feel this is an urgent optimization, it would be useful to see some data backing this up. Otherwise we'll probably hold off on this a bit until the dust settles around vgic changes. -Christoffer _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm