]> git.baikalelectronics.ru Git - kernel.git/commit
bootmem: print request details before BUG_ON(them)
authorJohannes Weiner <hannes@cmpxchg.org>
Tue, 6 Jan 2009 22:40:32 +0000 (14:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:10 +0000 (15:59 -0800)
commitefabe45d2309dd2a1bdecca2589c957d38a271e6
treedb3ed12346af4357d154637baad4fb224fbde639
parentc21c2f4e1df7c6ee840bff91d557be375864a65f
bootmem: print request details before BUG_ON(them)

Moving the request details print-out before the sanity checks that
might panic() enables us to analyse invalid requests without having
access to the line information of the stack dump.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/bootmem.c