Why kernel code/thread executing in interrupt context cannot sleep?
So what stops the scehduler from putting interrupt context to sleep and taking next schedulable process and passing it the control? The problem is that the interrupt context is not a process, and therefore cannot be put to sleep. When an interrupt occurs, the processor saves the registers onto the stack and jumps to the … Read more