trivial: Use correct macro to display sched_child_runs_first in /proc/sched_debug
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
@@ -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
Quoted 8 lines · Josh Hunt
The
sched_child_runs_firstvalue in/proc/sched_debugis 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
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
@@ -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
[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
@@ -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