Hi Jestin... On Thu, Jan 13, 2011 at 08:34, Jestin Joy <jestinjoy@xxxxxxxxxxx> wrote: > 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; I think, for simple traversing, you could just use for_each_process, unless you wanna find out something related to the rb tree. And, with my limited knowledge, rbtree.h doesn't include any traversing function. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies