]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen: use percpu interrupts for IPIs and VIRQs
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Sat, 21 Aug 2010 01:57:53 +0000 (18:57 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:36:05 +0000 (13:36 -0700)
commitfb412a178502dc498430723b082a932f797e4763
treefec5865d5d009fe10544b196b4316840ed4fdc8e
parent62b1700a2d04d5a5a8a506b7c604be9bd0b5ca79
xen: use percpu interrupts for IPIs and VIRQs

commit aaca49642b92c8a57d3ca5029a5a94019c7af69f upstream.

IPIs and VIRQs are inherently per-cpu event types, so treat them as such:
 - use a specific percpu irq_chip implementation, and
 - handle them with handle_percpu_irq

This makes the path for delivering these interrupts more efficient
(no masking/unmasking, no locks), and it avoid problems with attempts
to migrate them.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/xen/events.c