]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commit
xen/evtchn: clear secondary CPUs' cpu_evtchn_mask[] after restore
authorKeir Fraser <keir@xen.org>
Tue, 16 Nov 2010 11:31:19 +0000 (11:31 +0000)
committerKeir Fraser <keir@xen.org>
Tue, 16 Nov 2010 11:31:19 +0000 (11:31 +0000)
commit631ffd94a0b7e522071c5c66335b40d179a728b7
treeaf487aaf25dcfe89b7295f14d720c276f67db63b
parentcc51dbdf0e254094c2494cfec8a1d46a770e70dd
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.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xen.org>
drivers/xen/core/evtchn.c