Skip to contentSkip to conversation

sched: Add time unit suffix to sched sysctl knobs

PATCH In review Namhyung Kim 2 participants 2 messages Aug 16, 2012 – Sep 4, 2012 Proc sysctl

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched: Add time unit suffix to sched sysctl knobs

From: Namhyung Kim <[email protected]>

Unlike others, sched_migration_cost, sched_time_avg and sched_shares_window doesn't have time unit as suffix. Add them.

---
 kernel/sysctl.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
kernel/sysctl.c +3 -3
index 87174ef59161..81c7b1a1a307 100644
@@ -307,7 +307,7 @@ static struct ctl_table kern_table[] = {
 		.extra2		= &max_sched_tunable_scaling,
 	},
 	{
-		.procname	= "sched_migration_cost",
+		.procname	= "sched_migration_cost_ns",
 		.data		= &sysctl_sched_migration_cost,
 		.maxlen		= sizeof(unsigned int),
 		.mode		= 0644,
@@ -321,14 +321,14 @@ static struct ctl_table kern_table[] = {
 		.proc_handler	= proc_dointvec,
 	},
 	{
-		.procname	= "sched_time_avg",
+		.procname	= "sched_time_avg_ms",
 		.data		= &sysctl_sched_time_avg,
 		.maxlen		= sizeof(unsigned int),
 		.mode		= 0644,
 		.proc_handler	= proc_dointvec,
 	},
 	{
-		.procname	= "sched_shares_window",
+		.procname	= "sched_shares_window_ns",
 		.data		= &sysctl_sched_shares_window,
 		.maxlen		= sizeof(unsigned int),
 		.mode		= 0644,
Signature · 1 line
1.7.11.2
#1 lore raw
Commit-ID:  d00535db42805e9ae5eadf1b4a86e01e85674b0c
Gitweb:     http://git.kernel.org/tip/d00535db42805e9ae5eadf1b4a86e01e85674b0c
Author:     Namhyung Kim <[email protected]>
AuthorDate: Thu, 16 Aug 2012 11:15:30 +0900
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 4 Sep 2012 14:31:34 +0200

sched: Add time unit suffix to sched sysctl knobs

Unlike others, sched_migration_cost, sched_time_avg and sched_shares_window doesn't have time unit as suffix. Add them.

---
 kernel/sysctl.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
kernel/sysctl.c +3 -3
index 87174ef..81c7b1a 100644
@@ -307,7 +307,7 @@ static struct ctl_table kern_table[] = {
 		.extra2		= &max_sched_tunable_scaling,
 	},
 	{
-		.procname	= "sched_migration_cost",
+		.procname	= "sched_migration_cost_ns",
 		.data		= &sysctl_sched_migration_cost,
 		.maxlen		= sizeof(unsigned int),
 		.mode		= 0644,
@@ -321,14 +321,14 @@ static struct ctl_table kern_table[] = {
 		.proc_handler	= proc_dointvec,
 	},
 	{
-		.procname	= "sched_time_avg",
+		.procname	= "sched_time_avg_ms",
 		.data		= &sysctl_sched_time_avg,
 		.maxlen		= sizeof(unsigned int),
 		.mode		= 0644,
 		.proc_handler	= proc_dointvec,
 	},
 	{
-		.procname	= "sched_shares_window",
+		.procname	= "sched_shares_window_ns",
 		.data		= &sysctl_sched_shares_window,
 		.maxlen		= sizeof(unsigned int),
 		.mode		= 0644,