Despite pondering this for a while, it still makes no sense to me.
sys_pause() sets the process state to TASK_INTERRUPTIBLE, and then
calls schedule(). Usually this will get it taken off the run-queue. So
how could it then get selected to run?
-- Dave Wragg
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html