]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6275861c606952d46fcff0b00eb497a2f87adfa4
tree74a30ba964f644d9b4a1d248ed709ffbb18c13cf
parent25b8b88bd7df13e65aba3cc2af969f1c4498fac9
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