sched/rt: Add a tuning knob to allow changing SCHED_RR timeslice
[muen/linux.git] / kernel / sysctl.c
index 7357e23aaf68e6ec0980d03155989842abaa507c..4fc9be955c712ca4b68c25b18d1ac9599df2a3ae 100644 (file)
@@ -404,6 +404,13 @@ static struct ctl_table kern_table[] = {
                .mode           = 0644,
                .proc_handler   = sched_rt_handler,
        },
+       {
+               .procname       = "sched_rr_timeslice_ms",
+               .data           = &sched_rr_timeslice,
+               .maxlen         = sizeof(int),
+               .mode           = 0644,
+               .proc_handler   = sched_rr_handler,
+       },
 #ifdef CONFIG_SCHED_AUTOGROUP
        {
                .procname       = "sched_autogroup_enabled",