Traversing Runqueu - CFS

Jestin Joy jestinjoy at hotmail.com
Wed Jan 12 20:34:33 EST 2011


Hi,

    Looking for a way to traverse the runqueue, so that I could get the contents of the runqueue. Initial reading tells that sched.h has ched_entity structure, which holds some of the data for it, like the 

struct rb_node        run_node;

Also read that redblack tree is used to hold the elements with "vruntime" as the index of it. 

Could anyone give a way forward to doing this. 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110113/b093cc75/attachment.html 


More information about the Kernelnewbies mailing list