sched: Add time unit suffix to sched sysctl knobs
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 16 Aug 2012 02:15:30 +0000 (11:15 +0900)
committerIngo Molnar <mingo@kernel.org>
Tue, 4 Sep 2012 12:31:34 +0000 (14:31 +0200)
Unlike others, sched_migration_cost, sched_time_avg and
sched_shares_window doesn't have time unit as suffix. Add them.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1345083330-19486-1-git-send-email-namhyung@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sysctl.c

index 87174ef59161eb32ce298f5ef9c2b0e9feb1b3f1..81c7b1a1a30745b9bf108b84c4ff116a483552e5 100644 (file)
@@ -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,