]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/sysctl.c
sched: rt time limit
[net-next-2.6.git] / kernel / sysctl.c
index 96f31c1bc4f0ad3223b92d64a6bfd9a6f22c1eb0..3afbd25f43eb84da2278216e06004a6c560d6d10 100644 (file)
@@ -306,7 +306,23 @@ static struct ctl_table kern_table[] = {
                .procname       = "sched_nr_migrate",
                .data           = &sysctl_sched_nr_migrate,
                .maxlen         = sizeof(unsigned int),
-               .mode           = 644,
+               .mode           = 0644,
+               .proc_handler   = &proc_dointvec,
+       },
+       {
+               .ctl_name       = CTL_UNNUMBERED,
+               .procname       = "sched_rt_period_ms",
+               .data           = &sysctl_sched_rt_period,
+               .maxlen         = sizeof(unsigned int),
+               .mode           = 0644,
+               .proc_handler   = &proc_dointvec,
+       },
+       {
+               .ctl_name       = CTL_UNNUMBERED,
+               .procname       = "sched_rt_ratio",
+               .data           = &sysctl_sched_rt_ratio,
+               .maxlen         = sizeof(unsigned int),
+               .mode           = 0644,
                .proc_handler   = &proc_dointvec,
        },
 #if defined(CONFIG_FAIR_GROUP_SCHED) && defined(CONFIG_SMP)