Re: [PATCH] do_wp_page: BUG on invalid pfn

From: Ed L Cashin
Date: Fri Aug 15 2003 - 17:19:41 EST


Mike Fedyk <mfedyk@xxxxxxxxxxxxx> writes:

> On Fri, Aug 15, 2003 at 05:52:09PM -0400, Ed L Cashin wrote:
...
>> >> + dump_stack();
>> >> + BUG();

...
> So does show_stack() halt the kernel?

I'm not calling show_stack but dump_stack. For i386 it looks like
handle_BUG in arch/i386/kernel/traps.c is the function that gets run
when BUG raises an exception.

BUG() does halt the system, though.

--
--Ed L Cashin | PGP public key:
ecashin@xxxxxxx | http://noserose.net/e/pgp/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/