aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2015-02-10 14:35:36 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-02-10 14:35:36 -0500
commit4ba24fef3eb3b142197135223b90ced2f319cd53 (patch)
treea20c125b27740ec7b4c761b11d801108e1b316b2 /kernel/sysctl.c
parent47c1ffb2b6b630894e9a16442611c056ab21c057 (diff)
parent98a4a59ee31a12105a2b84f5b8b515ac2cb208ef (diff)
Merge branch 'next' into for-linus
Prepare first round of input updates for 3.20.
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c35
1 files changed, 18 insertions, 17 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 75875a741b5e..137c7f69b264 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -387,7 +387,8 @@ static struct ctl_table kern_table[] = {
387 .data = &sysctl_numa_balancing_scan_size, 387 .data = &sysctl_numa_balancing_scan_size,
388 .maxlen = sizeof(unsigned int), 388 .maxlen = sizeof(unsigned int),
389 .mode = 0644, 389 .mode = 0644,
390 .proc_handler = proc_dointvec, 390 .proc_handler = proc_dointvec_minmax,
391 .extra1 = &one,
391 }, 392 },
392 { 393 {
393 .procname = "numa_balancing", 394 .procname = "numa_balancing",
@@ -622,6 +623,13 @@ static struct ctl_table kern_table[] = {
622 .mode = 0644, 623 .mode = 0644,
623 .proc_handler = proc_dointvec, 624 .proc_handler = proc_dointvec,
624 }, 625 },
626 {
627 .procname = "tracepoint_printk",
628 .data = &tracepoint_printk,
629 .maxlen = sizeof(tracepoint_printk),
630 .mode = 0644,
631 .proc_handler = proc_dointvec,
632 },
625#endif 633#endif
626#ifdef CONFIG_KEXEC 634#ifdef CONFIG_KEXEC
627 { 635 {
@@ -1055,15 +1063,6 @@ static struct ctl_table kern_table[] = {
1055 .child = key_sysctls, 1063 .child = key_sysctls,
1056 }, 1064 },
1057#endif 1065#endif
1058#ifdef CONFIG_RCU_TORTURE_TEST
1059 {
1060 .procname = "rcutorture_runnable",
1061 .data = &rcutorture_runnable,
1062 .maxlen = sizeof(int),
1063 .mode = 0644,
1064 .proc_handler = proc_dointvec,
1065 },
1066#endif
1067#ifdef CONFIG_PERF_EVENTS 1066#ifdef CONFIG_PERF_EVENTS
1068 /* 1067 /*
1069 * User-space scripts rely on the existence of this file 1068 * User-space scripts rely on the existence of this file
@@ -1112,6 +1111,15 @@ static struct ctl_table kern_table[] = {
1112 .proc_handler = proc_dointvec, 1111 .proc_handler = proc_dointvec,
1113 }, 1112 },
1114#endif 1113#endif
1114 {
1115 .procname = "panic_on_warn",
1116 .data = &panic_on_warn,
1117 .maxlen = sizeof(int),
1118 .mode = 0644,
1119 .proc_handler = proc_dointvec_minmax,
1120 .extra1 = &zero,
1121 .extra2 = &one,
1122 },
1115 { } 1123 { }
1116}; 1124};
1117 1125
@@ -1460,13 +1468,6 @@ static struct ctl_table vm_table[] = {
1460 .extra2 = &one, 1468 .extra2 = &one,
1461 }, 1469 },
1462#endif 1470#endif
1463 {
1464 .procname = "scan_unevictable_pages",
1465 .data = &scan_unevictable_pages,
1466 .maxlen = sizeof(scan_unevictable_pages),
1467 .mode = 0644,
1468 .proc_handler = scan_unevictable_handler,
1469 },
1470#ifdef CONFIG_MEMORY_FAILURE 1471#ifdef CONFIG_MEMORY_FAILURE
1471 { 1472 {
1472 .procname = "memory_failure_early_kill", 1473 .procname = "memory_failure_early_kill",