Re: [PATCH 20/24] objtool: Another static block fail

From: Peter Zijlstra
Date: Wed Jan 31 2018 - 05:01:37 EST


On Tue, Jan 30, 2018 at 09:12:21PM -0600, Josh Poimboeuf wrote:
>
> Or, maybe we should just forget the whole thing and just stick with the
> dynamic IBRS checks with lfence. Yes, it's less ideal for the kernel,
> but adding these acrobatics to objtool also has a cost.

For now, IBRS seems off the table entirely. But no, I really don't want
to have to unconditionally eat the LFENCE cost in all those sites.