diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 96f31c1bc4f0..3afbd25f43eb 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -306,7 +306,23 @@ static struct ctl_table kern_table[] = { | |||
306 | .procname = "sched_nr_migrate", | 306 | .procname = "sched_nr_migrate", |
307 | .data = &sysctl_sched_nr_migrate, | 307 | .data = &sysctl_sched_nr_migrate, |
308 | .maxlen = sizeof(unsigned int), | 308 | .maxlen = sizeof(unsigned int), |
309 | .mode = 644, | 309 | .mode = 0644, |
310 | .proc_handler = &proc_dointvec, | ||
311 | }, | ||
312 | { | ||
313 | .ctl_name = CTL_UNNUMBERED, | ||
314 | .procname = "sched_rt_period_ms", | ||
315 | .data = &sysctl_sched_rt_period, | ||
316 | .maxlen = sizeof(unsigned int), | ||
317 | .mode = 0644, | ||
318 | .proc_handler = &proc_dointvec, | ||
319 | }, | ||
320 | { | ||
321 | .ctl_name = CTL_UNNUMBERED, | ||
322 | .procname = "sched_rt_ratio", | ||
323 | .data = &sysctl_sched_rt_ratio, | ||
324 | .maxlen = sizeof(unsigned int), | ||
325 | .mode = 0644, | ||
310 | .proc_handler = &proc_dointvec, | 326 | .proc_handler = &proc_dointvec, |
311 | }, | 327 | }, |
312 | #if defined(CONFIG_FAIR_GROUP_SCHED) && defined(CONFIG_SMP) | 328 | #if defined(CONFIG_FAIR_GROUP_SCHED) && defined(CONFIG_SMP) |