Re: kernel BUG at kernel/exit.c:792!

From: Linus Torvalds
Date: Wed Dec 03 2003 - 15:13:12 EST



On Wed, 3 Dec 2003, Ingo Molnar wrote:
>
> i'd like to keep the BUG() - it has caught this bug

It did nothing of the sort. It didn't catch a bug at all, it _caused_ a
bug.

> The next_thread() use of procfs is clearly illegal if it happens after a
> thread has been removed from the tasklist.

Why? I disagree with the "clearly". Even if it were illegal, it sure as
hell is not "clear".

Linus
-
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/