Hi Srinivas, Spinlocks aren’t a problem even in
interrupt context. I am not sure why you are getting
in_interrupt to non-zero for work queues? In process context we should have in_interrupt
returning 0. Thanks, Vishwas From: srinivas bakki
[mailto:srinivas.bakki@xxxxxxxxx]
i checked this in_interrupt() in the handler i.e my work that is queued
(bottom half) which ideally should not be any positive value since it is not
running in interrupt context. however i see it returns a positive value. ya i do take spinlock. it should not be a problem right since we have
the context now !!! with work queues. regards Srinivas
|