sched: remove unused fields from struct rq
authorLuis Henriques <henrix@sapo.pt>
Tue, 24 Mar 2009 22:10:02 +0000 (22:10 +0000)
committerIngo Molnar <mingo@elte.hu>
Tue, 24 Mar 2009 22:16:51 +0000 (23:16 +0100)
commit67aa0f767af488a7f1e41cccb4f7a4893f24a1ab
tree7852ed82045798af8881f486b175c11512dd1437
parentefd247fa34084d9b162f485004ae6d8a04059f0c
sched: remove unused fields from struct rq

Impact: cleanup, new schedstat ABI

Since they are used on in statistics and are always set to zero, the
following fields from struct rq have been removed: yld_exp_empty,
yld_act_empty and yld_both_empty.

Both Sched Debug and SCHEDSTAT_VERSION versions has also been
incremented since ABIs have been changed.

The schedtop tool has been updated to properly handle new version of
schedstat:

   http://rt.wiki.kernel.org/index.php/Schedtop_utility

Signed-off-by: Luis Henriques <henrix@sapo.pt>
Acked-by: Gregory Haskins <ghaskins@novell.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20090324221002.GA10061@hades.domain.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_debug.c
kernel/sched_stats.h