2010-07-16 22:00:07

by Josh Hunt

[permalink] [raw]
Subject: [PATCH] trivial: 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 <[email protected]>
---
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


2010-07-17 10:17:59

by Ingo Molnar

[permalink] [raw]
Subject: Re: [PATCH] trivial: Use correct macro to display sched_child_runs_first in /proc/sched_debug


* Josh Hunt <[email protected]> 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 <[email protected]>
> ---
> 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

2010-07-19 19:31:23

by Josh Hunt

[permalink] [raw]
Subject: [PATCH] trivial: Use correct macro to display sched_child_runs_first in /proc/sched_debug

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 <[email protected]>
---
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

2010-07-21 20:53:09

by Josh Hunt

[permalink] [raw]
Subject: [tip:sched/core] sched: Use correct macro to display sched_child_runs_first in /proc/sched_debug

Commit-ID: eebef74695e1498e04e5f85be9c6f84bd2e7358a
Gitweb: http://git.kernel.org/tip/eebef74695e1498e04e5f85be9c6f84bd2e7358a
Author: Josh Hunt <[email protected]>
AuthorDate: Mon, 19 Jul 2010 12:31:16 -0700
Committer: Ingo Molnar <[email protected]>
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 <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
---
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