Re: [patch] i386: fix recursive fault in page-fault handler

From: Linus Torvalds
Date: Mon Jul 17 2006 - 14:05:25 EST

On Mon, 17 Jul 2006, Chuck Ebbert wrote:
> Krzysztof Halasa reported recursive faults in do_page_fault()
> causing a stream of partial oops messages on the console. Fix
> by adding a fixup for that code.

This patch is really too ugly to live. Does it even work? If 'tsk' is
broken, I'd expect the die() to oops anyway - it does

if (notify_die(DIE_OOPS, str, regs, err,
current->thread.trap_no, SIGSEG...

anyway (where that "current->thread.trap_no" gets dereferenced).

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at