diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 617d41e4d6a0..9d048fa2d902 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -276,6 +276,16 @@ static struct ctl_table kern_table[] = { | |||
276 | }, | 276 | }, |
277 | { | 277 | { |
278 | .ctl_name = CTL_UNNUMBERED, | 278 | .ctl_name = CTL_UNNUMBERED, |
279 | .procname = "sched_shares_thresh", | ||
280 | .data = &sysctl_sched_shares_thresh, | ||
281 | .maxlen = sizeof(unsigned int), | ||
282 | .mode = 0644, | ||
283 | .proc_handler = &proc_dointvec_minmax, | ||
284 | .strategy = &sysctl_intvec, | ||
285 | .extra1 = &zero, | ||
286 | }, | ||
287 | { | ||
288 | .ctl_name = CTL_UNNUMBERED, | ||
279 | .procname = "sched_child_runs_first", | 289 | .procname = "sched_child_runs_first", |
280 | .data = &sysctl_sched_child_runs_first, | 290 | .data = &sysctl_sched_child_runs_first, |
281 | .maxlen = sizeof(unsigned int), | 291 | .maxlen = sizeof(unsigned int), |
@@ -464,7 +474,7 @@ static struct ctl_table kern_table[] = { | |||
464 | .mode = 0644, | 474 | .mode = 0644, |
465 | .proc_handler = &proc_dointvec, | 475 | .proc_handler = &proc_dointvec, |
466 | }, | 476 | }, |
467 | #ifdef CONFIG_FTRACE | 477 | #ifdef CONFIG_FUNCTION_TRACER |
468 | { | 478 | { |
469 | .ctl_name = CTL_UNNUMBERED, | 479 | .ctl_name = CTL_UNNUMBERED, |
470 | .procname = "ftrace_enabled", | 480 | .procname = "ftrace_enabled", |
@@ -833,6 +843,16 @@ static struct ctl_table kern_table[] = { | |||
833 | .proc_handler = &proc_dointvec, | 843 | .proc_handler = &proc_dointvec, |
834 | }, | 844 | }, |
835 | #endif | 845 | #endif |
846 | #ifdef CONFIG_UNEVICTABLE_LRU | ||
847 | { | ||
848 | .ctl_name = CTL_UNNUMBERED, | ||
849 | .procname = "scan_unevictable_pages", | ||
850 | .data = &scan_unevictable_pages, | ||
851 | .maxlen = sizeof(scan_unevictable_pages), | ||
852 | .mode = 0644, | ||
853 | .proc_handler = &scan_unevictable_handler, | ||
854 | }, | ||
855 | #endif | ||
836 | /* | 856 | /* |
837 | * NOTE: do not add new entries to this table unless you have read | 857 | * NOTE: do not add new entries to this table unless you have read |
838 | * Documentation/sysctl/ctl_unnumbered.txt | 858 | * Documentation/sysctl/ctl_unnumbered.txt |