diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-23 19:48:14 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-23 19:48:14 -0400 |
| commit | 04b5da4a14eef2ed1b92fd762be80fa1ba7a6461 (patch) | |
| tree | 6f5139c8f615683b688d27f3d5f628cc140465bc | |
| parent | a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee (diff) | |
| parent | ac4fef4d23ed879a7fd11ab24ccd2e1464277e9a (diff) | |
Merge branch 'akpm' (patches from Andrew Morton)
Merge fixes from Andrew Morton:
"The nmi patch and watchdog patch aren't actually fixes - they're
features which needed a few last-minutes touchups.
Otherwise, a rather large batch of fixes - ocfs2 review takes a while
and I got distracted and missed last week's batch"
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (31 commits)
ocfs2/dlm: do not purge lockres that is queued for assert master
ocfs2: do not return DLM_MIGRATE_RESPONSE_MASTERY_REF to avoid endless,loop during umount
ocfs2: manually do the iput once ocfs2_add_entry failed in ocfs2_symlink and ocfs2_mknod
ocfs2: fix a tiny race when running dirop_fileop_racer
ocfs2/dlm: fix misuse of list_move_tail() in dlm_run_purge_list()
ocfs2: refcount: take rw_lock in ocfs2_reflink
ocfs2: revert "ocfs2: fix NULL pointer dereference when dismount and ocfs2rec simultaneously"
ocfs2: fix deadlock when two nodes are converting same lock from PR to EX and idletimeout closes conn
ocfs2: should add inode into orphan dir after updating entry in ocfs2_rename()
mm: fix crashes from mbind() merging vmas
checkpatch: reduce false positives when checking void function return statements
ia64: arch/ia64/include/uapi/asm/fcntl.h needs personality.h
DMA, CMA: fix possible memory leak
slab: fix oops when reading /proc/slab_allocators
shmem: fix faulting into a hole while it's punched
mm: let mm_find_pmd fix buggy race with THP fault
mm: thp: fix DEBUG_PAGEALLOC oops in copy_page_rep()
kernel/watchdog.c: print traces for all cpus on lockup detection
nmi: provide the option to issue an NMI back trace to every cpu but current
Documentation/accounting/getdelays.c: add missing null-terminate after strncpy call
...
41 files changed, 703 insertions, 189 deletions
| @@ -9,6 +9,10 @@ | |||
| 9 | Linus | 9 | Linus |
| 10 | ---------- | 10 | ---------- |
| 11 | 11 | ||
| 12 | M: Matt Mackal | ||
| 13 | E: mpm@selenic.com | ||
| 14 | D: SLOB slab allocator | ||
| 15 | |||
| 12 | N: Matti Aarnio | 16 | N: Matti Aarnio |
| 13 | E: mea@nic.funet.fi | 17 | E: mea@nic.funet.fi |
| 14 | D: Alpha systems hacking, IPv6 and other network related stuff | 18 | D: Alpha systems hacking, IPv6 and other network related stuff |
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 | ||
diff --git a/MAINTAINERS b/MAINTAINERS index 3f2e171047b9..3cc94fff780f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -8196,13 +8196,15 @@ S: Maintained | |||
