1.

Explain Whether We Can Use Semaphore Or Mutex Or Spinlock In Interrupt Context In Linux Kernel?

Answer»

Semaphore or Mutex can’t be USED for interrupt CONTEXTS in LINUX Kernel. While SPINLOCKS can be safely used for locking in interrupt CONTEXT.

Semaphore or Mutex can’t be used for interrupt contexts in Linux Kernel. While spinlocks can be safely used for locking in interrupt context.



Discussion

No Comment Found