diff options
author | Luis Henriques <henrix@sapo.pt> | 2009-03-24 18:10:02 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-24 18:16:51 -0400 |
commit | 67aa0f767af488a7f1e41cccb4f7a4893f24a1ab (patch) | |
tree | 7852ed82045798af8881f486b175c11512dd1437 /kernel/sched.c | |
parent | efd247fa34084d9b162f485004ae6d8a04059f0c (diff) |
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>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index d2dfe4c1a225..7b389c74f8ff 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -638,9 +638,6 @@ struct rq { | |||
638 | /* could above be rq->cfs_rq.exec_clock + rq->rt_rq.rt_runtime ? */ | 638 | /* could above be rq->cfs_rq.exec_clock + rq->rt_rq.rt_runtime ? */ |
639 | 639 | ||
640 | /* sys_sched_yield() stats */ | 640 | /* sys_sched_yield() stats */ |
641 | unsigned int yld_exp_empty; | ||
642 | unsigned int yld_act_empty; | ||
643 | unsigned int yld_both_empty; | ||
644 | unsigned int yld_count; | 641 | unsigned int yld_count; |
645 | 642 | ||
646 | /* schedule() stats */ | 643 | /* schedule() stats */ |