diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-14 19:49:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-14 19:49:17 -0400 |
commit | 1dcf58d6e6e6eb7ec10e9abc56887b040205b06f (patch) | |
tree | c03e7a25ef13eea62f1547914a76e5c68f3f4c28 /kernel/sysctl.c | |
parent | 80dcc31fbe55932ac9204daee5f2ebc0c49b6da3 (diff) | |
parent | e4b0db72be2487bae0e3251c22f82c104f7c1cfd (diff) |
Merge branch 'akpm' (patches from Andrew)
Merge first patchbomb from Andrew Morton:
- arch/sh updates
- ocfs2 updates
- kernel/watchdog feature
- about half of mm/
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (122 commits)
Documentation: update arch list in the 'memtest' entry
Kconfig: memtest: update number of test patterns up to 17
arm: add support for memtest
arm64: add support for memtest
memtest: use phys_addr_t for physical addresses
mm: move memtest under mm
mm, hugetlb: abort __get_user_pages if current has been oom killed
mm, mempool: do not allow atomic resizing
memcg: print cgroup information when system panics due to panic_on_oom
mm: numa: remove migrate_ratelimited
mm: fold arch_randomize_brk into ARCH_HAS_ELF_RANDOMIZE
mm: split ET_DYN ASLR from mmap ASLR
s390: redefine randomize_et_dyn for ELF_ET_DYN_BASE
mm: expose arch_mmap_rnd when available
s390: standardize mmap_rnd() usage
powerpc: standardize mmap_rnd() usage
mips: extract logic for mmap_rnd()
arm64: standardize mmap_rnd() usage
x86: standardize mmap_rnd() usage
arm: factor out mmap ASLR into mmap_rnd
...
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 35 |
1 files changed, 24 insertions, 11 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 4012336de30f..8c0eabd41886 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -847,7 +847,7 @@ static struct ctl_table kern_table[] = { | |||
847 | .data = &watchdog_user_enabled, | 847 | .data = &watchdog_user_enabled, |
848 | .maxlen = sizeof (int), | 848 | .maxlen = sizeof (int), |
849 | .mode = 0644, | 849 | .mode = 0644, |
850 | .proc_handler = proc_dowatchdog, | 850 | .proc_handler = proc_watchdog, |
851 | .extra1 = &zero, | 851 | .extra1 = &zero, |
852 | .extra2 = &one, | 852 | .extra2 = &one, |
853 | }, | 853 | }, |
@@ -856,11 +856,33 @@ static struct ctl_table kern_table[] = { | |||
856 | .data = &watchdog_thresh, | 856 | .data = &watchdog_thresh, |
857 | .maxlen = sizeof(int), | 857 | .maxlen = sizeof(int), |
858 | .mode = 0644, | 858 | .mode = 0644, |
859 | .proc_handler = proc_dowatchdog, | 859 | .proc_handler = proc_watchdog_thresh, |
860 | .extra1 = &zero, | 860 | .extra1 = &zero, |
861 | .extra2 = &sixty, | 861 | .extra2 = &sixty, |
862 | }, | 862 | }, |
863 | { | 863 | { |
864 | .procname = "nmi_watchdog", | ||
865 | .data = &nmi_watchdog_enabled, | ||
866 | .maxlen = sizeof (int), | ||
867 | .mode = 0644, | ||
868 | .proc_handler = proc_nmi_watchdog, | ||
869 | .extra1 = &zero, | ||
870 | #if defined(CONFIG_HAVE_NMI_WATCHDOG) || defined(CONFIG_HARDLOCKUP_DETECTOR) | ||
871 | .extra2 = &one, | ||
872 | #else | ||
873 | .extra2 = &zero, | ||
874 | #endif | ||
875 | }, | ||
876 | { | ||
877 | .procname = "soft_watchdog", | ||
878 | .data = &soft_watchdog_enabled, | ||
879 | .maxlen = sizeof (int), | ||
880 | .mode = 0644, | ||
881 | .proc_handler = proc_soft_watchdog, | ||
882 | .extra1 = &zero, | ||
883 | .extra2 = &one, | ||
884 | }, | ||
885 | { | ||
864 | .procname = "softlockup_panic", | 886 | .procname = "softlockup_panic", |
865 | .data = &softlockup_panic, | 887 | .data = &softlockup_panic, |
866 | .maxlen = sizeof(int), | 888 | .maxlen = sizeof(int), |
@@ -880,15 +902,6 @@ static struct ctl_table kern_table[] = { | |||
880 | .extra2 = &one, | 902 | .extra2 = &one, |
881 | }, | 903 | }, |
882 | #endif /* CONFIG_SMP */ | 904 | #endif /* CONFIG_SMP */ |
883 | { | ||
884 | .procname = "nmi_watchdog", | ||
885 | .data = &watchdog_user_enabled, | ||
886 | .maxlen = sizeof (int), | ||
887 | .mode = 0644, | ||
888 | .proc_handler = proc_dowatchdog, | ||
889 | .extra1 = &zero, | ||
890 | .extra2 = &one, | ||
891 | }, | ||
892 | #endif | 905 | #endif |
893 | #if defined(CONFIG_X86_LOCAL_APIC) && defined(CONFIG_X86) | 906 | #if defined(CONFIG_X86_LOCAL_APIC) && defined(CONFIG_X86) |
894 | { | 907 | { |