OSDN Git Service

x86/KVM/VMX: Don't set l1tf_flush_l1d to true from vmx_l1d_flush()
authorNicolai Stange <nstange@suse.de>
Sat, 21 Jul 2018 20:16:56 +0000 (22:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 5 Aug 2018 07:53:10 +0000 (09:53 +0200)
commit379fd0c7e6a391e5565336a646f19f218fb98c6c
tree1c9b61b42b6a2848d6dccf0b74e9a4525e30db83
parent73d5e2b472640b1fcdb61ae8be389912ef211bda
x86/KVM/VMX: Don't set l1tf_flush_l1d to true from vmx_l1d_flush()

vmx_l1d_flush() gets invoked only if l1tf_flush_l1d is true. There's no
point in setting l1tf_flush_l1d to true from there again.

Signed-off-by: Nicolai Stange <nstange@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kvm/vmx.c