Thread (2 messages) 2 messages, 2 authors, 2011-01-13

Traversing Runqueu - CFS

From: Jestin Joy <hidden>
Date: 2011-01-13 01:34:33

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 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help