diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-26 22:55:54 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-26 22:55:54 -0400 |
| commit | 0e06f5c0deeef0332a5da2ecb8f1fcf3e024d958 (patch) | |
| tree | e0f0af4aadf10c713c5cf1b65356844b3c9b3215 /include/linux/mmdebug.h | |
| parent | f7816ad0f878dacd5f0120476f9b836ccf8699ea (diff) | |
| parent | 8f19b0c058d93a678a99dd6fec03af2e769943f2 (diff) | |
Merge branch 'akpm' (patches from Andrew)
Merge updates from Andrew Morton:
- a few misc bits
- ocfs2
- most(?) of MM
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (125 commits)
thp: fix comments of __pmd_trans_huge_lock()
cgroup: remove unnecessary 0 check from css_from_id()
cgroup: fix idr leak for the first cgroup root
mm: memcontrol: fix documentation for compound parameter
mm: memcontrol: remove BUG_ON in uncharge_list
mm: fix build warnings in <linux/compaction.h>
mm, thp: convert from optimistic swapin collapsing to conservative
mm, thp: fix comment inconsistency for swapin readahead functions
thp: update Documentation/{vm/transhuge,filesystems/proc}.txt
shmem: split huge pages beyond i_size under memory pressure
thp: introduce CONFIG_TRANSPARENT_HUGE_PAGECACHE
khugepaged: add support of collapse for tmpfs/shmem pages
shmem: make shmem_inode_info::lock irq-safe
khugepaged: move up_read(mmap_sem) out of khugepaged_alloc_page()
thp: extract khugepaged from mm/huge_memory.c
shmem, thp: respect MADV_{NO,}HUGEPAGE for file mappings
shmem: add huge pages support
shmem: get_unmapped_area align huge page
shmem: prepare huge= mount option and sysfs knob
mm, rmap: account shmem thp pages
...
Diffstat (limited to 'include/linux/mmdebug.h')
| -rw-r--r-- | include/linux/mmdebug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmdebug.h b/include/linux/mmdebug.h index de7be78c6f0e..451a811f48f2 100644 --- a/include/linux/mmdebug.h +++ b/include/linux/mmdebug.h | |||
| @@ -39,6 +39,7 @@ void dump_mm(const struct mm_struct *mm); | |||
| 39 | #define VM_WARN_ON(cond) WARN_ON(cond) | 39 | #define VM_WARN_ON(cond) WARN_ON(cond) |
| 40 | #define VM_WARN_ON_ONCE(cond) WARN_ON_ONCE(cond) | 40 | #define VM_WARN_ON_ONCE(cond) WARN_ON_ONCE(cond) |
| 41 | #define VM_WARN_ONCE(cond, format...) WARN_ONCE(cond, format) | 41 | #define VM_WARN_ONCE(cond, format...) WARN_ONCE(cond, format) |
| 42 | #define VM_WARN(cond, format...) WARN(cond, format) | ||
| 42 | #else | 43 | #else |
| 43 | #define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond) | 44 | #define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond) |
| 44 | #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) | 45 | #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) |
| @@ -47,6 +48,7 @@ void dump_mm(const struct mm_struct *mm); | |||
| 47 | #define VM_WARN_ON(cond) BUILD_BUG_ON_INVALID(cond) | 48 | #define VM_WARN_ON(cond) BUILD_BUG_ON_INVALID(cond) |
| 48 | #define VM_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond) | 49 | #define VM_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond) |
| 49 | #define VM_WARN_ONCE(cond, format...) BUILD_BUG_ON_INVALID(cond) | 50 | #define VM_WARN_ONCE(cond, format...) BUILD_BUG_ON_INVALID(cond) |
| 51 | #define VM_WARN(cond, format...) BUILD_BUG_ON_INVALID(cond) | ||
| 50 | #endif | 52 | #endif |
| 51 | 53 | ||
| 52 | #ifdef CONFIG_DEBUG_VIRTUAL | 54 | #ifdef CONFIG_DEBUG_VIRTUAL |
