On Wed, Oct 14, 2009 at 12:09 PM, Leonidas . <leonidas137@xxxxxxxxx> wrote:
Hi List,
I am aware of in_interrupt() call which can be used to check current
context and take action accordingly.
Is there any api which can help figure out whether we are executing
while hold a spinlock? I.e an api which can help figure out
sleepable/nonsleepable context? If it is not there, what can
be done for writing the same? Any pointers will be helpful.
-Leo.
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ
--
Regards,
Denis