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, 25 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 6bb59f707402..eacae77ac9fc 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -1372,6 +1372,31 @@ static struct ctl_table vm_table[] = {
1372 .mode = 0644, 1372 .mode = 0644,
1373 .proc_handler = &scan_unevictable_handler, 1373 .proc_handler = &scan_unevictable_handler,
1374 }, 1374 },
1375#ifdef CONFIG_MEMORY_FAILURE
1376 {
1377 .ctl_name = CTL_UNNUMBERED,
1378 .procname = "memory_failure_early_kill",
1379 .data = &sysctl_memory_failure_early_kill,
1380 .maxlen = sizeof(sysctl_memory_failure_early_kill),
1381 .mode = 0644,
1382 .proc_handler = &proc_dointvec_minmax,
1383 .strategy = &sysctl_intvec,
1384 .extra1 = &zero,
1385 .extra2 = &one,
1386 },
1387 {
1388 .ctl_name = CTL_UNNUMBERED,
1389 .procname = "memory_failure_recovery",
1390 .data = &sysctl_memory_failure_recovery,
1391 .maxlen = sizeof(sysctl_memory_failure_recovery),
1392 .mode = 0644,
1393 .proc_handler = &proc_dointvec_minmax,
1394 .strategy = &sysctl_intvec,
1395 .extra1 = &zero,
1396 .extra2 = &one,
1397 },
1398#endif
1399
1375/* 1400/*
1376 * NOTE: do not add new entries to this table unless you have read 1401 * NOTE: do not add new entries to this table unless you have read
1377 * Documentation/sysctl/ctl_unnumbered.txt 1402 * Documentation/sysctl/ctl_unnumbered.txt