What does an empty run queue entry points to?

Posted by EpsilonVector on Stack Overflow See other posts from Stack Overflow or by EpsilonVector
Published on 2010-04-27T23:40:50Z Indexed on 2010/04/27 23:43 UTC
Read the original article Hit count: 228

Filed under:
|

I'm trying to figure out the technicalities of scheduling in Linux. What I can't figure out is what happens with those entries in the run_queue where there are no running processes. In the run_queue we have a bitmap, a counter, and the array of lists themselves. For a list that is empty because there are no running tasks with its priority, what do the next and prev pointers point to?

© Stack Overflow or respective owner

Related posts about linux

Related posts about scheduling