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 /include/linux | |
| 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
...
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nmi.h | 12 | ||||
| -rw-r--r-- | include/linux/page-flags.h | 3 |
2 files changed, 14 insertions, 1 deletions
diff --git a/include/linux/nmi.h b/include/linux/nmi.h index 6a45fb583ff1..447775ee2c4b 100644 --- a/include/linux/nmi.h +++ b/include/linux/nmi.h | |||
| @@ -32,15 +32,24 @@ static inline void touch_nmi_watchdog(void) | |||
| 32 | #ifdef arch_trigger_all_cpu_backtrace | 32 | #ifdef arch_trigger_all_cpu_backtrace |
| 33 | static inline bool trigger_all_cpu_backtrace(void) | 33 | static inline bool trigger_all_cpu_backtrace(void) |
| 34 | { | 34 | { |
| 35 | arch_trigger_all_cpu_backtrace(); | 35 | arch_trigger_all_cpu_backtrace(true); |
| 36 | 36 | ||
| 37 | return true; | 37 | return true; |
| 38 | } | 38 | } |
| 39 | static inline bool trigger_allbutself_cpu_backtrace(void) | ||
| 40 | { | ||
| 41 | arch_trigger_all_cpu_backtrace(false); | ||
| 42 | return true; | ||
| 43 | } | ||
| 39 | #else | 44 | #else |
| 40 | static inline bool trigger_all_cpu_backtrace(void) | 45 | static inline bool trigger_all_cpu_backtrace(void) |
| 41 | { | 46 | { |
| 42 | return false; | 47 | return false; |
| 43 | } | 48 | } |
| 49 | static inline bool trigger_allbutself_cpu_backtrace(void) | ||
| 50 | { | ||
| 51 | return false; | ||
| 52 | } | ||
| 44 | #endif | 53 | #endif |
| 45 | 54 | ||
| 46 | #ifdef CONFIG_LOCKUP_DETECTOR | 55 | #ifdef CONFIG_LOCKUP_DETECTOR |
| @@ -48,6 +57,7 @@ int hw_nmi_is_cpu_stuck(struct pt_regs *); | |||
| 48 | u64 hw_nmi_get_sample_period(int watchdog_thresh); | 57 | u64 hw_nmi_get_sample_period(int watchdog_thresh); |
| 49 | extern int watchdog_user_enabled; | 58 | extern int watchdog_user_enabled; |
| 50 | extern int watchdog_thresh; | 59 | extern int watchdog_thresh; |
| 60 | extern int sysctl_softlockup_all_cpu_backtrace; | ||
| 51 | struct ctl_table; | 61 | struct ctl_table; |
| 52 | extern int proc_dowatchdog(struct ctl_table *, int , | 62 | extern int proc_dowatchdog(struct ctl_table *, int , |
| 53 | void __user *, size_t *, loff_t *); | 63 | void __user *, size_t *, loff_t *); |
diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 3c545b48aeab..8304959ad336 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h | |||
| @@ -360,6 +360,9 @@ static inline void ClearPageCompound(struct page *page) | |||
| 360 | ClearPageHead(page); | 360 | ClearPageHead(page); |
| 361 | } | 361 | } |
| 362 | #endif | 362 | #endif |
| 363 | |||
| 364 | #define PG_head_mask ((1L << PG_head)) | ||
| 365 | |||
| 363 | #else | 366 | #else |
| 364 | /* | 367 | /* |
| 365 | * Reduce page flag use as much as possible by overlapping | 368 | * Reduce page flag use as much as possible by overlapping |
