OSDN Git Service

x86/kvm: Add static key for flush always
authorThomas Gleixner <tglx@linutronix.de>
Fri, 13 Jul 2018 14:23:20 +0000 (16:23 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 13 Jul 2018 14:29:54 +0000 (16:29 +0200)
commit4c6523ec59fe895ea352a650218a6be0653910b1
tree74a30ba964f644d9b4a1d248ed709ffbb18c13cf
parent7db92e165ac814487264632ab2624e832f20ae38
x86/kvm: Add static key for flush always

Avoid the conditional in the L1D flush control path.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Jiri Kosina <jkosina@suse.cz>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lkml.kernel.org/r/20180713142322.790914912@linutronix.de
arch/x86/kvm/vmx.c