xen: make sure that softirqs get handled at the end of event processing
authorJeremy Fitzhardinge <jeremy@goop.org>
Fri, 6 Feb 2009 22:09:46 +0000 (14:09 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 9 Feb 2009 11:18:09 +0000 (12:18 +0100)
commit3445a8fd7c6868bd9db0d1bea7d6e89004552122
treee702ab02c72392cda5ee80e8cc12db60e2b0f271
parentd77bbd4db475e2edc78edb7f94a258159c140b54
xen: make sure that softirqs get handled at the end of event processing

Make sure that irq_enter()/irq_exit() wrap the entire event processing
loop, rather than each individual event invokation.  This makes sure
that softirq processing is deferred until the end of event processing,
rather than in the middle with interrupts disabled.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/xen/events.c