diff options
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/accounting/getdelays.c | 1 | ||||
| -rw-r--r-- | Documentation/kernel-parameters.txt | 5 | ||||
| -rw-r--r-- | Documentation/memory-hotplug.txt | 15 | ||||
| -rw-r--r-- | Documentation/sysctl/kernel.txt | 17 | ||||
| -rw-r--r-- | Documentation/sysctl/vm.txt | 3 |
5 files changed, 31 insertions, 10 deletions
diff --git a/Documentation/accounting/getdelays.c b/Documentation/accounting/getdelays.c index c6a06b71594d..f40578026a04 100644 --- a/Documentation/accounting/getdelays.c +++ b/Documentation/accounting/getdelays.c | |||
| @@ -314,6 +314,7 @@ int main(int argc, char *argv[]) | |||
| 314 | break; | 314 | break; |
| 315 | case 'm': | 315 | case 'm': |
| 316 | strncpy(cpumask, optarg, sizeof(cpumask)); | 316 | strncpy(cpumask, optarg, sizeof(cpumask)); |
| 317 | cpumask[sizeof(cpumask) - 1] = '\0'; | ||
| 317 | maskset = 1; | 318 | maskset = 1; |
| 318 | printf("cpumask %s maskset %d\n", cpumask, maskset); | 319 | printf("cpumask %s maskset %d\n", cpumask, maskset); |
| 319 | break; | 320 | break; |
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 884904975d0b..c1b9aa8c5a52 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
| @@ -3130,6 +3130,11 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
| 3130 | [KNL] Should the soft-lockup detector generate panics. | 3130 | [KNL] Should the soft-lockup detector generate panics. |
| 3131 | Format: <integer> | 3131 | Format: <integer> |
| 3132 | 3132 | ||
| 3133 | softlockup_all_cpu_backtrace= | ||
| 3134 | [KNL] Should the soft-lockup detector generate | ||
| 3135 | backtraces on all cpus. | ||
| 3136 | Format: <integer> | ||
| 3137 | |||
| 3133 | sonypi.*= [HW] Sony Programmable I/O Control Device driver | 3138 | sonypi.*= [HW] Sony Programmable I/O Control Device driver |
| 3134 | See Documentation/laptops/sonypi.txt | 3139 | See Documentation/laptops/sonypi.txt |
| 3135 | 3140 | ||
diff --git a/Documentation/memory-hotplug.txt b/Documentation/memory-hotplug.txt index f304edb8fbe7..45134dc23854 100644 --- a/Documentation/memory-hotplug.txt +++ b/Documentation/memory-hotplug.txt | |||
| @@ -209,15 +209,12 @@ If memory device is found, memory hotplug code will be called. | |||
| 209 | 209 | ||
| 210 | 4.2 Notify memory hot-add event by hand | 210 | 4.2 Notify memory hot-add event by hand |
| 211 | ------------ | 211 | ------------ |
| 212 | On powerpc, the firmware does not notify a memory hotplug event to the kernel. | 212 | On some architectures, the firmware may not notify the kernel of a memory |
| 213 | Therefore, "probe" interface is supported to notify the event to the kernel. | 213 | hotplug event. Therefore, the memory "probe" interface is supported to |
| 214 | This interface depends on CONFIG_ARCH_MEMORY_PROBE. | 214 | explicitly notify the kernel. This interface depends on |
| 215 | 215 | CONFIG_ARCH_MEMORY_PROBE and can be configured on powerpc, sh, and x86 | |
| 216 | CONFIG_ARCH_MEMORY_PROBE is supported on powerpc only. On x86, this config | 216 | if hotplug is supported, although for x86 this should be handled by ACPI |
| 217 | option is disabled by default since ACPI notifies a memory hotplug event to | 217 | notification. |
| 218 | the kernel, which performs its hotplug operation as the result. Please | ||
| 219 | enable this option if you need the "probe" interface for testing purposes | ||
| 220 | on x86. | ||
| 221 | 218 | ||
| 222 | Probe interface is located at | 219 | Probe interface is located at |
| 223 | /sys/devices/system/memory/probe | 220 | /sys/devices/system/memory/probe |
diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt index 708bb7f1b7e0..c14374e71775 100644 --- a/Documentation/sysctl/kernel.txt +++ b/Documentation/sysctl/kernel.txt | |||
| @@ -75,6 +75,7 @@ show up in /proc/sys/kernel: | |||
| 75 | - shmall | 75 | - shmall |
| 76 | - shmmax [ sysv ipc ] | 76 | - shmmax [ sysv ipc ] |
| 77 | - shmmni | 77 | - shmmni |
| 78 | - softlockup_all_cpu_backtrace | ||
| 78 | - stop-a [ SPARC only ] | 79 | - stop-a [ SPARC only ] |
| 79 | - sysrq ==> Documentation/sysrq.txt | 80 | - sysrq ==> Documentation/sysrq.txt |
| 80 | - sysctl_writes_strict | 81 | - sysctl_writes_strict |
| @@ -783,6 +784,22 @@ via the /proc/sys interface: | |||
| 783 | 784 | ||
| 784 | ============================================================== | 785 | ============================================================== |
| 785 | 786 | ||
| 787 | softlockup_all_cpu_backtrace: | ||
| 788 | |||
| 789 | This value controls the soft lockup detector thread's behavior | ||
| 790 | when a soft lockup condition is detected as to whether or not | ||
| 791 | to gather further debug information. If enabled, each cpu will | ||
| 792 | be issued an NMI and instructed to capture stack trace. | ||
| 793 | |||
| 794 | This feature is only applicable for architectures which support | ||
| 795 | NMI. | ||
| 796 | |||
| 797 | 0: do nothing. This is the default behavior. | ||
| 798 | |||
| 799 | 1: on detection capture more debug information. | ||
| 800 | |||
| 801 | ============================================================== | ||
| 802 | |||
| 786 | tainted: | 803 | tainted: |
| 787 | 804 | ||
| 788 | Non-zero if the kernel has been tainted. Numeric values, which | 805 | Non-zero if the kernel has been tainted. Numeric values, which |
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt index bd4b34c03738..4415aa915681 100644 --- a/Documentation/sysctl/vm.txt +++ b/Documentation/sysctl/vm.txt | |||
| @@ -702,7 +702,8 @@ The batch value of each per cpu pagelist is also updated as a result. It is | |||
| 702 | set to pcp->high/4. The upper limit of batch is (PAGE_SHIFT * 8) | 702 | set to pcp->high/4. The upper limit of batch is (PAGE_SHIFT * 8) |
| 703 | 703 | ||
| 704 | The initial value is zero. Kernel does not use this value at boot time to set | 704 | The initial value is zero. Kernel does not use this value at boot time to set |
| 705 | the high water marks for each per cpu page list. | 705 | the high water marks for each per cpu page list. If the user writes '0' to this |
| 706 | sysctl, it will revert to this default behavior. | ||
| 706 | 707 | ||
| 707 | ============================================================== | 708 | ============================================================== |
| 708 | 709 | ||
