[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can we hold a spin lock and call up() (on a semaphore)



Hi:

In process context (and interrupt context, while we are at it) can we
hold a spin lock and call up() (on a semaphore)? Apart from the usual
issues pertaining with deadlocks - are we guaranteed that an up is a
non-blocking operation?

Thanks,

Hareesh

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/