diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2014-10-10 00:28:37 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-10 04:25:58 +0200 |
commit | 31c9afa6db122a5c7a7843278aaf77dd08ea6e98 (patch) | |
tree | aaa9854a4b07f458a0972141de3ee0a77d264641 /kernel/sys.c | |
parent | mm: move debug code out of page_alloc.c (diff) | |
download | linux-31c9afa6db122a5c7a7843278aaf77dd08ea6e98.tar.xz linux-31c9afa6db122a5c7a7843278aaf77dd08ea6e98.zip |
mm: introduce VM_BUG_ON_MM
Very similar to VM_BUG_ON_PAGE and VM_BUG_ON_VMA, dump struct_mm when the
bug is hit.
[akpm@linux-foundation.org: coding-style fixes]
[mhocko@suse.cz: fix build]
[mhocko@suse.cz: fix build some more]
[akpm@linux-foundation.org: do strange things to avoid doing strange things for the comma separators]
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Cc: Dave Jones <davej@redhat.com>
Signed-off-by: Michal Hocko <mhocko@suse.cz>
Cc: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions