]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63aa09b054dd3ebda999d57a9d45ba1d7883ec01
tree98fb1738fbd2f7a46879ea802e0934861dc7a3be
parente0b5fdb2a41f5bc5529ee72a0a9e25995f99a7d4
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