Re: [PATCH RFC] x86: enforce inlining for atomics
From: Hagen Paul Pfeifer
Date: Mon Jul 13 2015 - 17:12:36 EST
> On July 13, 2015 at 11:06 PM Denys Vlasenko <vda.linux@xxxxxxxxxxxxxx>
> wrote:
>
> Not *your* way.
> I meant that I'll send patches to Ingo - I see that he agrees that
> this worth fixing instead of waiting for a better compiler.
Yeah, do it. Sorry it was not my intention to prevent you to fix this -
not at all. Go on, *every* patch will make things better.
> (Ideally, the compiler shouldn't do this, but gcc BZ comments
> are not encouraging).
Right, the inline heuristic - as Linus already noted - is quite bad for
some cases (especially inline asm).
Hagen
--
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/