From: Linus Torvalds Date: Fri, 31 Jan 2014 16:59:46 +0000 (-0800) Subject: Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ab5318788c6725b6d5c95aff28e63af4c35a0e2c;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git Merge branch 'core-urgent-for-linus' of git://git./linux/kernel/git/tip/tip Pull core debug changes from Ingo Molnar: "This contains mostly kernel debugging related updates: - make hung_task detection more configurable to distros - add final bits for x86 UV NMI debugging, with related KGDB changes - update the mailing-list of MAINTAINERS entries I'm involved with" * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: hung_task: Display every hung task warning sysctl: Add neg_one as a standard constraint x86/uv/nmi, kgdb/kdb: Fix UV NMI handler when KDB not configured x86/uv/nmi: Fix Sparse warnings kgdb/kdb: Fix no KDB config problem MAINTAINERS: Restore "L: linux-kernel@vger.kernel.org" entries --- ab5318788c6725b6d5c95aff28e63af4c35a0e2c diff --cc Documentation/sysctl/kernel.txt index ee9a2f983b99,4205f3c05cbe..e55124e7c40c --- a/Documentation/sysctl/kernel.txt +++ b/Documentation/sysctl/kernel.txt @@@ -33,7 -33,10 +33,11 @@@ show up in /proc/sys/kernel - domainname - hostname - hotplug + - hung_task_panic + - hung_task_check_count + - hung_task_timeout_secs + - hung_task_warnings +- kexec_load_disabled - kptr_restrict - kstack_depth_to_print [ X86 only ] - l2cr [ PPC only ] @@@ -288,18 -291,44 +292,56 @@@ Default value is "/sbin/hotplug" ============================================================== + hung_task_panic: + + Controls the kernel's behavior when a hung task is detected. + This file shows up if CONFIG_DETECT_HUNG_TASK is enabled. + + 0: continue operation. This is the default behavior. + + 1: panic immediately. + + ============================================================== + + hung_task_check_count: + + The upper bound on the number of tasks that are checked. + This file shows up if CONFIG_DETECT_HUNG_TASK is enabled. + + ============================================================== + + hung_task_timeout_secs: + + Check interval. When a task in D state did not get scheduled + for more than this value report a warning. + This file shows up if CONFIG_DETECT_HUNG_TASK is enabled. + + 0: means infinite timeout - no checking done. + + ============================================================== + + hung_task_warning: + + The maximum number of warnings to report. During a check interval + When this value is reached, no more the warnings will be reported. + This file shows up if CONFIG_DETECT_HUNG_TASK is enabled. + + -1: report an infinite number of warnings. + + ============================================================== + +kexec_load_disabled: + +A toggle indicating if the kexec_load syscall has been disabled. This +value defaults to 0 (false: kexec_load enabled), but can be set to 1 +(true: kexec_load disabled). Once true, kexec can no longer be used, and +the toggle cannot be set back to false. This allows a kexec image to be +loaded before disabling the syscall, allowing a system to set up (and +later use) an image without it being altered. Generally used together +with the "modules_disabled" sysctl. + +============================================================== + kptr_restrict: This toggle indicates whether restrictions are placed on