Searched hist:"3 f5e554f669098c84c82ce75e7577f7e0f3fccde" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/xen/ |
H A D | evtchn.c | diff 3f5e554f669098c84c82ce75e7577f7e0f3fccde Fri May 28 17:28:27 CDT 2010 Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> xen/evtchn: don't do unbind_from_irqhandler under spinlock
unbind_from_irqhandler can end up doing /proc operations, which can't happen under a spinlock. So before removing the IRQ handler, disable the irq under the port_user lock (masking the underlying event channel and making sure the irq handler isn't running concurrently and won't start running), then remove the handler without the lock.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
|