Re: [PATCH v2 06/19] asm-generic/barrier: mask speculative execution flows

From: Peter Zijlstra
Date: Mon Jan 15 2018 - 03:46:41 EST


On Fri, Jan 12, 2018 at 04:41:37PM -0800, Dan Williams wrote:
> This certainly needs a Kconfig "depends on JUMP_LABEL" to turn on the
> dynamic switching at all, and a HAVE_JUMP_LABEL compile time failure
> if the compiler lacks support.

We're ready to drop all compilers that don't support asm-goto on the
floor for x86. So don't over engineer it just to avoid that.