xen/evtchn: clear secondary CPUs' cpu_evtchn_mask[] after restore
authorJan Beulich <jbeulich@novell.com>
Tue, 16 Nov 2010 22:55:33 +0000 (14:55 -0800)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 16 Nov 2010 22:58:47 +0000 (14:58 -0800)
commit1c6969ec8e6328e8d288fc585310e9e52fc9db04
tree98fb1738fbd2f7a46879ea802e0934861dc7a3be
parent7e77506a5918d82cafa2ffa783ab57c23f9e9817
xen/evtchn: clear secondary CPUs' cpu_evtchn_mask[] after restore

To bind all event channels to CPU#0, it is not sufficient to set all
of its cpu_evtchn_mask[] bits; all other CPUs also need to get their
bits cleared. Otherwise, evtchn_do_upcall() will start handling
interrupts on CPUs they're not intended to run on, which can be
particularly bad for per-CPU ones.

[ linux-2.6.18-xen.hg 7de7453dee36 ]

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/xen/events.c