Re: Avoid speculative indirect calls in kernel

From: Linus Torvalds
Date: Wed Jan 03 2018 - 19:20:08 EST


On Wed, Jan 3, 2018 at 4:12 PM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> It should be a CPU_BUG bit as we have for the other mess. And that can be
> used for patching.

That would definitely be the right approach.

However, that's also probably quite challenging for the gcc option.

Linus