aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorDave Hansen <[email protected]>2014-01-29 22:05:50 +0000
committerLinus Torvalds <[email protected]>2014-01-30 00:22:40 +0000
commita0132ac0f275434db32111b8cf7372d991899da3 (patch)
tree5fb93dbdc8292182d7b1c5505cbeea00c985276c /lib/dma-debug.c
parentslab: fix wrong retval on kmem_cache_create_memcg error path (diff)
downloadkernel-a0132ac0f275434db32111b8cf7372d991899da3.tar.gz
kernel-a0132ac0f275434db32111b8cf7372d991899da3.zip
mm/slub.c: do not VM_BUG_ON_PAGE() for temporary on-stack pages
Commit 309381feaee5 ("mm: dump page when hitting a VM_BUG_ON using VM_BUG_ON_PAGE") added a bunch of VM_BUG_ON_PAGE() calls. But, most of the ones in the slub code are for _temporary_ 'struct page's which are declared on the stack and likely have lots of gunk in them. Dumping their contents out will just confuse folks looking at bad_page() output. Plus, if we try to page_to_pfn() on them or soemthing, we'll probably oops anyway. Turn them back in to VM_BUG_ON()s. Signed-off-by: Dave Hansen <[email protected]> Cc: Sasha Levin <[email protected]> Cc: "Kirill A. Shutemov" <[email protected]> Cc: Pekka Enberg <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions