aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c25
1 files changed, 16 insertions, 9 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 0ed9fa6f322e..6bb59f707402 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -49,7 +49,6 @@
49#include <linux/acpi.h> 49#include <linux/acpi.h>
50#include <linux/reboot.h> 50#include <linux/reboot.h>
51#include <linux/ftrace.h> 51#include <linux/ftrace.h>
52#include <linux/security.h>
53#include <linux/slow-work.h> 52#include <linux/slow-work.h>
54#include <linux/perf_counter.h> 53#include <linux/perf_counter.h>
55 54
@@ -247,6 +246,14 @@ static int max_wakeup_granularity_ns = NSEC_PER_SEC; /* 1 second */
247#endif 246#endif
248 247
249static struct ctl_table kern_table[] = { 248static struct ctl_table kern_table[] = {
249 {
250 .ctl_name = CTL_UNNUMBERED,
251 .procname = "sched_child_runs_first",
252 .data = &sysctl_sched_child_runs_first,
253 .maxlen = sizeof(unsigned int),
254 .mode = 0644,
255 .proc_handler = &proc_dointvec,
256 },
250#ifdef CONFIG_SCHED_DEBUG 257#ifdef CONFIG_SCHED_DEBUG
251 { 258 {
252 .ctl_name = CTL_UNNUMBERED, 259 .ctl_name = CTL_UNNUMBERED,
@@ -301,14 +308,6 @@ static struct ctl_table kern_table[] = {
301 }, 308 },
302 { 309 {
303 .ctl_name = CTL_UNNUMBERED, 310 .ctl_name = CTL_UNNUMBERED,
304 .procname = "sched_child_runs_first",
305 .data = &sysctl_sched_child_runs_first,
306 .maxlen = sizeof(unsigned int),
307 .mode = 0644,
308 .proc_handler = &proc_dointvec,
309 },
310 {
311 .ctl_name = CTL_UNNUMBERED,
312 .procname = "sched_features", 311 .procname = "sched_features",
313 .data = &sysctl_sched_features, 312 .data = &sysctl_sched_features,
314 .maxlen = sizeof(unsigned int), 313 .maxlen = sizeof(unsigned int),
@@ -333,6 +332,14 @@ static struct ctl_table kern_table[] = {
333 }, 332 },
334 { 333 {
335 .ctl_name = CTL_UNNUMBERED, 334 .ctl_name = CTL_UNNUMBERED,
335 .procname = "sched_time_avg",
336 .data = &sysctl_sched_time_avg,
337 .maxlen = sizeof(unsigned int),
338 .mode = 0644,
339 .proc_handler = &proc_dointvec,
340 },
341 {
342 .ctl_name = CTL_UNNUMBERED,
336 .procname = "timer_migration", 343 .procname = "timer_migration",
337 .data = &sysctl_timer_migration, 344 .data = &sysctl_timer_migration,
338 .maxlen = sizeof(unsigned int), 345 .maxlen = sizeof(unsigned int),