mm: use VM_BUG_ON_MM where possible
authorSasha Levin <sasha.levin@oracle.com>
Thu, 9 Oct 2014 22:28:39 +0000 (15:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Oct 2014 02:25:58 +0000 (22:25 -0400)
commit96dad67ff244e797c4bc3e4f7f0fdaa0cfdf0a7d
treeea45352bf168845bf42d0d656b5d8bdacc55d8e8
parent31c9afa6db122a5c7a7843278aaf77dd08ea6e98
mm: use VM_BUG_ON_MM where possible

Dump the contents of the relevant struct_mm when we hit the bug condition.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/fork.c
kernel/sys.c
mm/huge_memory.c
mm/mlock.c
mm/mmap.c
mm/pagewalk.c