sched: clean up debug info
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 10 Nov 2008 09:46:32 +0000 (10:46 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 10 Nov 2008 09:51:51 +0000 (10:51 +0100)
Impact: clean up and fix debug info printout

While looking over the sched_debug code I noticed that we printed the rq
schedstats for every cfs_rq, ammend this.

Also change nr_spead_over into an int, and fix a little buglet in
min_vruntime printing.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_debug.c

index 57c933f..f314924 100644 (file)
@@ -399,7 +399,7 @@ struct cfs_rq {
         */
        struct sched_entity *curr, *next, *last;
 
-       unsigned long nr_spread_over;
+       unsigned int nr_spread_over;
 
 #ifdef CONFIG_FAIR_GROUP_SCHED
        struct rq *rq;  /* cpu runqueue to which this cfs_rq is attached */
Simple merge