Skip to contentSkip to conversation

trivial: Use correct macro to display sched_child_runs_first in /proc/sched_debug

PATCH In review Josh Hunt 2 participants 4 messages Jul 16, 2010 – Jul 21, 2010

lore
Share & tools
lore

Josh Hunt

author
#0 lore raw

PATCH 1/1 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.

---
 kernel/sched_debug.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/sched_debug.c +1 -1
index 3556539..2e1b0d1 100644
@@ -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 lore raw
Quoted 8 lines · Josh Hunt

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.

---
 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

author
#2 lore raw

PATCH 1/1 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.

---
 kernel/sched_debug.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/sched_debug.c +1 -1
index 3556539..2e1b0d1 100644
@@ -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
Signature · 1 line
1.7.0.4
#3 lore raw

[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.

LKML-Reference: <[email protected]>

---
 kernel/sched_debug.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/sched_debug.c +1 -1
index 3556539..2e1b0d1 100644
@@ -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