Spin Lock
I have studied that when a process running in the kernel space is holding a spin lock, it cannot be preempted unless it blocks, sleeps or completes the task. Is my understanding correct?
Mutex Lock
Does the process running in the kernel space and holding a mutex lock gets preempted in both the cases below:
1. a high priority process comes or
2. the process timeslice is exhausted ?
-LinuxPenseur
I have studied that when a process running in the kernel space is holding a spin lock, it cannot be preempted unless it blocks, sleeps or completes the task. Is my understanding correct?
Mutex Lock
Does the process running in the kernel space and holding a mutex lock gets preempted in both the cases below:
1. a high priority process comes or
2. the process timeslice is exhausted ?
-LinuxPenseur