* [PATCH] trivial: Use correct macro to display sched_child_runs_first in /proc/sched_debug
@ 2010-07-16 21:51 Josh Hunt
2010-07-17 10:17 ` Ingo Molnar
0 siblings, 1 reply; 4+ messages in thread
From: Josh Hunt @ 2010-07-16 21:51 UTC (permalink / raw)
To: mingo, peterz; +Cc: linux-kernel, juhlenko
The sched_child_runs_first value in /proc/sched_debug is currently
displayed using a macro meant to split ns time values. This patch uses
the correct macro to display it as a plain decimal value.
Signed-off-by: Josh Hunt <johunt@akamai.com>
---
kernel/sched_debug.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index 3556539..2e1b0d1 100644
--- a/kernel/sched_debug.c
+++ b/kernel/sched_debug.c
@@ -332,7 +332,7 @@ static int sched_debug_show(struct seq_file *m, void *v)
PN(sysctl_sched_latency);
PN(sysctl_sched_min_granularity);
PN(sysctl_sched_wakeup_granularity);
- PN(sysctl_sched_child_runs_first);
+ P(sysctl_sched_child_runs_first);
P(sysctl_sched_features);
#undef PN
#undef P
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] trivial: Use correct macro to display sched_child_runs_first in /proc/sched_debug
2010-07-16 21:51 [PATCH] trivial: Use correct macro to display sched_child_runs_first in /proc/sched_debug Josh Hunt
@ 2010-07-17 10:17 ` Ingo Molnar
2010-07-19 19:31 ` Josh Hunt
0 siblings, 1 reply; 4+ messages in thread
From: Ingo Molnar @ 2010-07-17 10:17 UTC (permalink / raw)
To: Josh Hunt; +Cc: peterz, linux-kernel, juhlenko, Mike Galbraith
* Josh Hunt <johunt@akamai.com> wrote:
> The sched_child_runs_first value in /proc/sched_debug is currently
> displayed using a macro meant to split ns time values. This patch uses
> the correct macro to display it as a plain decimal value.
>
> Signed-off-by: Josh Hunt <johunt@akamai.com>
> ---
> kernel/sched_debug.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Note, the patch wouldnt apply because it is whitespace damaged - please have a
look at Documentation/email-clients.txt, or send the patch as an attachment.
Thanks,
Ingo
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] trivial: Use correct macro to display sched_child_runs_first in /proc/sched_debug
2010-07-17 10:17 ` Ingo Molnar
@ 2010-07-19 19:31 ` Josh Hunt
2010-07-21 20:52 ` [tip:sched/core] sched: " tip-bot for Josh Hunt
0 siblings, 1 reply; 4+ messages in thread
From: Josh Hunt @ 2010-07-19 19:31 UTC (permalink / raw)
To: Ingo Molnar; +Cc: peterz, linux-kernel, juhlenko, efault
Resending via git.
The sched_child_runs_first value in /proc/sched_debug is currently
displayed using a macro meant to split ns time values. This patch uses
the correct macro to display it as a plain decimal value.
Signed-off-by: Josh Hunt <johunt@akamai.com>
---
kernel/sched_debug.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index 3556539..2e1b0d1 100644
--- a/kernel/sched_debug.c
+++ b/kernel/sched_debug.c
@@ -332,7 +332,7 @@ static int sched_debug_show(struct seq_file *m, void *v)
PN(sysctl_sched_latency);
PN(sysctl_sched_min_granularity);
PN(sysctl_sched_wakeup_granularity);
- PN(sysctl_sched_child_runs_first);
+ P(sysctl_sched_child_runs_first);
P(sysctl_sched_features);
#undef PN
#undef P
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [tip:sched/core] sched: Use correct macro to display sched_child_runs_first in /proc/sched_debug
2010-07-19 19:31 ` Josh Hunt
@ 2010-07-21 20:52 ` tip-bot for Josh Hunt
0 siblings, 0 replies; 4+ messages in thread
From: tip-bot for Josh Hunt @ 2010-07-21 20:52 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, johunt, hpa, mingo, tglx, mingo
Commit-ID: eebef74695e1498e04e5f85be9c6f84bd2e7358a
Gitweb: http://git.kernel.org/tip/eebef74695e1498e04e5f85be9c6f84bd2e7358a
Author: Josh Hunt <johunt@akamai.com>
AuthorDate: Mon, 19 Jul 2010 12:31:16 -0700
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Wed, 21 Jul 2010 21:46:12 +0200
sched: Use correct macro to display sched_child_runs_first in /proc/sched_debug
The sched_child_runs_first value in /proc/sched_debug is
currently displayed using a macro meant to split ns time values.
This patch uses the correct macro to display it as a plain
decimal value.
Signed-off-by: Josh Hunt <johunt@akamai.com>
Cc: peterz@infradead.org
Cc: juhlenko@akamai.com
Cc: efault@gmx.de
LKML-Reference: <1279567876-25418-1-git-send-email-johunt@akamai.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
kernel/sched_debug.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index 3556539..2e1b0d1 100644
--- a/kernel/sched_debug.c
+++ b/kernel/sched_debug.c
@@ -332,7 +332,7 @@ static int sched_debug_show(struct seq_file *m, void *v)
PN(sysctl_sched_latency);
PN(sysctl_sched_min_granularity);
PN(sysctl_sched_wakeup_granularity);
- PN(sysctl_sched_child_runs_first);
+ P(sysctl_sched_child_runs_first);
P(sysctl_sched_features);
#undef PN
#undef P
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-07-21 20:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-16 21:51 [PATCH] trivial: Use correct macro to display sched_child_runs_first in /proc/sched_debug Josh Hunt
2010-07-17 10:17 ` Ingo Molnar
2010-07-19 19:31 ` Josh Hunt
2010-07-21 20:52 ` [tip:sched/core] sched: " tip-bot for Josh Hunt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox