diff options
author | Sean Christopherson <[email protected]> | 2020-03-21 12:37:50 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2020-03-23 15:44:26 -0400 |
commit | d260f9ef50c76c5587353fa71719be8cf5525f06 (patch) | |
tree | 7d0bec7ab628358774ff76a405dbbddf90940827 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 31603d4fc2bb4f0815245d496cb970b27b4f636a (diff) |
KVM: VMX: Fold loaded_vmcs_init() into alloc_loaded_vmcs()
Subsume loaded_vmcs_init() into alloc_loaded_vmcs(), its only remaining
caller, and drop the VMCLEAR on the shadow VMCS, which is guaranteed to
be NULL. loaded_vmcs_init() was previously used by loaded_vmcs_clear(),
but loaded_vmcs_clear() also subsumed loaded_vmcs_init() to properly
handle smp_wmb() with respect to VMCLEAR.
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions