execute_in_process_context() is supposed to produce us a context
whenever the local context isn't available, and that's supposed to
include when interrupts are disabled as in spin_lock_irqsave().

So let me ask this another way: have you seen this deadlock (which
would mean we have a bug in execute_process_context())?

James



I havn't seen this dead lock but in_interrupt() do not check whether
the interrupts are disabled. Please refer to the definition of
in_interrupt().

#define irq_count()     (preempt_count() & (HARDIRQ_MASK | SOFTIRQ_MASK\
                                 | NMI_MASK))
#define in_interrupt()          (irq_count())


Jason

.


Reply via email to