On Wed, 17 Oct 2018, Tim Chen wrote:
> Create the cpu_smt_enabled static key to indicate if we are
> using SMT. SMT specific code paths are executed only when SMT
> code paths are enabled by this key.
>
> Signed-off-by: Tim Chen <[email protected]>
> ---
> arch/x86/kernel/cpu/bugs.c | 2 +-
> arch/x86/kvm/vmx.c | 2 +-
> include/linux/cpu.h | 1 +
> kernel/cpu.c | 12 ++++++++++--
I have a hard time to understand why the subject prefix is x86/smt.
This want's to be split into:
1) Add the static key to the core
2) Make use of it in x86
Thanks,
tglx