diff options
Diffstat (limited to 'kernel/sysctl.c')
| -rw-r--r-- | kernel/sysctl.c | 37 |
1 files changed, 10 insertions, 27 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 6c97259e863e..ec14aa8ac51f 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
| @@ -222,14 +222,11 @@ static ctl_table kern_table[] = { | |||
| 222 | #ifdef CONFIG_SCHED_DEBUG | 222 | #ifdef CONFIG_SCHED_DEBUG |
| 223 | { | 223 | { |
| 224 | .ctl_name = CTL_UNNUMBERED, | 224 | .ctl_name = CTL_UNNUMBERED, |
| 225 | .procname = "sched_min_granularity_ns", | 225 | .procname = "sched_nr_latency", |
| 226 | .data = &sysctl_sched_min_granularity, | 226 | .data = &sysctl_sched_nr_latency, |
| 227 | .maxlen = sizeof(unsigned int), | 227 | .maxlen = sizeof(unsigned int), |
| 228 | .mode = 0644, | 228 | .mode = 0644, |
| 229 | .proc_handler = &proc_dointvec_minmax, | 229 | .proc_handler = &proc_dointvec, |
| 230 | .strategy = &sysctl_intvec, | ||
| 231 | .extra1 = &min_sched_granularity_ns, | ||
| 232 | .extra2 = &max_sched_granularity_ns, | ||
| 233 | }, | 230 | }, |
| 234 | { | 231 | { |
| 235 | .ctl_name = CTL_UNNUMBERED, | 232 | .ctl_name = CTL_UNNUMBERED, |
| @@ -266,38 +263,24 @@ static ctl_table kern_table[] = { | |||
| 266 | }, | 263 | }, |
| 267 | { | 264 | { |
| 268 | .ctl_name = CTL_UNNUMBERED, | 265 | .ctl_name = CTL_UNNUMBERED, |
| 269 | .procname = "sched_stat_granularity_ns", | 266 | .procname = "sched_child_runs_first", |
| 270 | .data = &sysctl_sched_stat_granularity, | 267 | .data = &sysctl_sched_child_runs_first, |
| 271 | .maxlen = sizeof(unsigned int), | ||
| 272 | .mode = 0644, | ||
| 273 | .proc_handler = &proc_dointvec_minmax, | ||
| 274 | .strategy = &sysctl_intvec, | ||
| 275 | .extra1 = &min_wakeup_granularity_ns, | ||
| 276 | .extra2 = &max_wakeup_granularity_ns, | ||
| 277 | }, | ||
| 278 | { | ||
| 279 | .ctl_name = CTL_UNNUMBERED, | ||
| 280 | .procname = "sched_runtime_limit_ns", | ||
| 281 | .data = &sysctl_sched_runtime_limit, | ||
| 282 | .maxlen = sizeof(unsigned int), | 268 | .maxlen = sizeof(unsigned int), |
| 283 | .mode = 0644, | 269 | .mode = 0644, |
| 284 | .proc_handler = &proc_dointvec_minmax, | 270 | .proc_handler = &proc_dointvec, |
| 285 | .strategy = &sysctl_intvec, | ||
| 286 | .extra1 = &min_sched_granularity_ns, | ||
| 287 | .extra2 = &max_sched_granularity_ns, | ||
| 288 | }, | 271 | }, |
| 289 | { | 272 | { |
| 290 | .ctl_name = CTL_UNNUMBERED, | 273 | .ctl_name = CTL_UNNUMBERED, |
| 291 | .procname = "sched_child_runs_first", | 274 | .procname = "sched_features", |
| 292 | .data = &sysctl_sched_child_runs_first, | 275 | .data = &sysctl_sched_features, |
| 293 | .maxlen = sizeof(unsigned int), | 276 | .maxlen = sizeof(unsigned int), |
| 294 | .mode = 0644, | 277 | .mode = 0644, |
| 295 | .proc_handler = &proc_dointvec, | 278 | .proc_handler = &proc_dointvec, |
| 296 | }, | 279 | }, |
| 297 | { | 280 | { |
| 298 | .ctl_name = CTL_UNNUMBERED, | 281 | .ctl_name = CTL_UNNUMBERED, |
| 299 | .procname = "sched_features", | 282 | .procname = "sched_migration_cost", |
| 300 | .data = &sysctl_sched_features, | 283 | .data = &sysctl_sched_migration_cost, |
| 301 | .maxlen = sizeof(unsigned int), | 284 | .maxlen = sizeof(unsigned int), |
| 302 | .mode = 0644, | 285 | .mode = 0644, |
| 303 | .proc_handler = &proc_dointvec, | 286 | .proc_handler = &proc_dointvec, |
