When a process in the kernel space is holding a spin_lock, the process cannot be preempted due to any of the following conditions :
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question开发者_如何转开发 so it's on-topic for Stack Overflow.
Would like to know how the scheduler gets called so that it can switch tasks. As in even if its preemptive s开发者_如何转开发cheduling or round robin scheduling - the scheduler should come in to pictu
The Linux kernel is non-preempti开发者_开发技巧ve, but I just read that there could be context-switches in different control paths. Doesn\'t that contradict the non-preemptive nature on the Linux kern