diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index ea90ef51085c..9e3d2960faf5 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -233,6 +233,17 @@ static ctl_table kern_table[] = { | |||
233 | }, | 233 | }, |
234 | { | 234 | { |
235 | .ctl_name = CTL_UNNUMBERED, | 235 | .ctl_name = CTL_UNNUMBERED, |
236 | .procname = "sched_latency_ns", | ||
237 | .data = &sysctl_sched_latency, | ||
238 | .maxlen = sizeof(unsigned int), | ||
239 | .mode = 0644, | ||
240 | .proc_handler = &proc_dointvec_minmax, | ||
241 | .strategy = &sysctl_intvec, | ||
242 | .extra1 = &min_sched_granularity_ns, | ||
243 | .extra2 = &max_sched_granularity_ns, | ||
244 | }, | ||
245 | { | ||
246 | .ctl_name = CTL_UNNUMBERED, | ||
236 | .procname = "sched_wakeup_granularity_ns", | 247 | .procname = "sched_wakeup_granularity_ns", |
237 | .data = &sysctl_sched_wakeup_granularity, | 248 | .data = &sysctl_sched_wakeup_granularity, |
238 | .maxlen = sizeof(unsigned int), | 249 | .maxlen = sizeof(unsigned int), |