Re: Random panic in load_balance() with 3.16-rc

Linus Torvalds
2014-07-26T20:39:56Z

On Sat, Jul 26, 2014 at 1:19 PM, Markus Trippelsdorf
<markus@trippelsdorf.de> wrote:
>
> Yes. The option only affects -g builds.

Ok, good. I'll wait a bit to hopefully get confirmation from Michel's
setup, but this does seem to be the solution.

> So, the option should only be enabled for debugging builds. Something
> like the following should be sufficient:

Actually, I prefer my patch that did it with cc-option checking, and
does it unconditionally.

Because if we do it even for non-debug builds - where it ostensibly
shouldn't matter - we then have that GCC_COMPARE_DEBUG thing working
regardless of configuration.

Linus