Re: BUG_ON() in workingset_node_shadows_dec() triggers

From: Linus Torvalds
Date: Wed Oct 05 2016 - 11:53:19 EST


On Tue, Oct 4, 2016 at 10:44 PM, Willy Tarreau <w@xxxxxx> wrote:
>
> I think instead we should completely remove any simple way to halt the
> system and document how to do it.

Having slept on it, I suspect you're right. I worry about some
BUG_ON() that really relies on the killing behavior, but if it takes a
"real" fault later, that is when it gets killed. And on the whole,
we've had lots of problems with the killing behavior over the years,
so we should just try switching BUG_ON() over to non-fatal. It's
unlikely to be worse than what we have now, as exemplified by this
event.

Linus