Re: Avoid speculative indirect calls in kernel
From: David Lang
Date: Wed Jan 03 2018 - 19:31:21 EST
On Wed, 3 Jan 2018, Andi Kleen wrote:
Why is this all done without any configuration options?
I was thinking of a config option, but I was struggling with a name.
CONFIG_INSECURE_KERNEL, CONFIG_LEAK_MEMORY?
CONFIG_BUGGY_INTEL_CACHE (or similar)
something that indicates that this is to support the Intel CPUs that have this
bug in them.
We've had such CPU specific support options in the past.
Some people will need the speed more than the protection, some people will be
running on CPUs that don't need this.
Why is this needed? because of an Intel bug, so name it accordingly.
David Lang