* [PATCH] sched: Wrap nr_spread_over with CONFIG_SCHED_DEBUG.
@ 2011-05-04 16:53 Rakib Mullick
2011-05-06 7:40 ` [tip:sched/core] sched: Wrap the 'cfs_rq->nr_spread_over' field " tip-bot for Rakib Mullick
0 siblings, 1 reply; 2+ messages in thread
From: Rakib Mullick @ 2011-05-04 16:53 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Peter Zijlstra, linux-kernel
nr_spread_over is used when CONFIG_SCHED_DEBUG is set. So wrap nr_spread_over with CONFIG_SCHED_DEBUG.
Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
---
diff --git a/kernel/sched.c b/kernel/sched.c
index 8cb0a57..0b91adf 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -328,7 +328,9 @@ struct cfs_rq {
*/
struct sched_entity *curr, *next, *last, *skip;
+#ifdef CONFIG_SCHED_DEBUG
unsigned int nr_spread_over;
+#endif
#ifdef CONFIG_FAIR_GROUP_SCHED
struct rq *rq; /* cpu runqueue to which this cfs_rq is attached */
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:sched/core] sched: Wrap the 'cfs_rq->nr_spread_over' field with CONFIG_SCHED_DEBUG
2011-05-04 16:53 [PATCH] sched: Wrap nr_spread_over with CONFIG_SCHED_DEBUG Rakib Mullick
@ 2011-05-06 7:40 ` tip-bot for Rakib Mullick
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Rakib Mullick @ 2011-05-06 7:40 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, rakib.mullick, peterz, tglx, mingo
Commit-ID: 4934a4d3d3fa775601a9f1b35cc0e2aa93f81355
Gitweb: http://git.kernel.org/tip/4934a4d3d3fa775601a9f1b35cc0e2aa93f81355
Author: Rakib Mullick <rakib.mullick@gmail.com>
AuthorDate: Wed, 4 May 2011 22:53:46 +0600
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 6 May 2011 09:04:19 +0200
sched: Wrap the 'cfs_rq->nr_spread_over' field with CONFIG_SCHED_DEBUG
cfs_rq->nr_spread_over is only used when CONFIG_SCHED_DEBUG is set.
So wrap it with CONFIG_SCHED_DEBUG.
Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1304528026.15681.3.camel@localhost.localdomain
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
kernel/sched.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/kernel/sched.c b/kernel/sched.c
index f11a2a5..3d8a1b2 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -328,7 +328,9 @@ struct cfs_rq {
*/
struct sched_entity *curr, *next, *last, *skip;
+#ifdef CONFIG_SCHED_DEBUG
unsigned int nr_spread_over;
+#endif
#ifdef CONFIG_FAIR_GROUP_SCHED
struct rq *rq; /* cpu runqueue to which this cfs_rq is attached */
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-06 7:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-04 16:53 [PATCH] sched: Wrap nr_spread_over with CONFIG_SCHED_DEBUG Rakib Mullick
2011-05-06 7:40 ` [tip:sched/core] sched: Wrap the 'cfs_rq->nr_spread_over' field " tip-bot for Rakib Mullick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome