Re: 3.14-rc2 XFS backtrace because irqs_disabled.

From: Al Viro
Date: Mon Feb 17 2014 - 12:54:18 EST


On Mon, Feb 17, 2014 at 06:46:48PM +0100, Oleg Nesterov wrote:
> > pulling the logics *out* of kernel/signal.c and into arch/*.
>
> Not really, I think.

How so? You propose to make all architectures call do_coredump()
themselves, instead of having it done centrally. It's more boilerplate
for all of them to get wrong. And IME any boilerplate in that are
*will* be gotten wrong - I've gone through signal handling on all
architectures more than a few times and every time it caught a pile
of bugs...
--
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/