Messages in this thread | | | Subject | Re: [PATCH] do_wp_page: BUG on invalid pfn | From | Ed L Cashin <> | Date | Fri, 15 Aug 2003 17:50:05 -0400 |
| |
Russell King <rmk@arm.linux.org.uk> writes:
> On Fri, Aug 15, 2003 at 05:15:45PM -0400, Ed L Cashin wrote: >> + dump_stack(); >> + BUG(); > > Is there much point to both dump_stack and BUG() - BUG is supposed to > provide a calltrace, which dump_stack also does. Do we really need two > copies?
On i386 WARN_ON calls dump_stack, but BUG just prints some minimal helpful info on the console, like this:
------------[ cut here ]------------ kernel BUG at kernel/any.c:36! invalid operand: 0000 [#1]
-- --Ed L Cashin | PGP public key: ecashin@uga.edu | http://noserose.net/e/pgp/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |