November 14, 2014

How can I access all running queues in the system?

I'm learning about the scheduler, and doing various hacks just to understand how data structures are organized. Now I'm trying to understand how the running queues of the scheduler are organized. So given a process I figured that I can find its running queue. But I just want to iterate over all running queues. How can I do this?

Click Here!