diff options
author | Sean Christopherson <seanjc@google.com> | 2023-01-06 02:13:04 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-01-13 16:45:34 +0100 |
commit | b3f257a846960d06bdaa893dbee100189fbf2234 (patch) | |
tree | a3ccb38824105ff52f13a95b00d0c859ec7e3a9b /Documentation/powerpc | |
parent | Revert "KVM: SVM: Do not throw warning when calling avic_vcpu_load on a runni... (diff) | |
download | linux-b3f257a846960d06bdaa893dbee100189fbf2234.tar.xz linux-b3f257a846960d06bdaa893dbee100189fbf2234.zip |
KVM: x86: Track required APICv inhibits with variable, not callback
Track the per-vendor required APICv inhibits with a variable instead of
calling into vendor code every time KVM wants to query the set of
required inhibits. The required inhibits are a property of the vendor's
virtualization architecture, i.e. are 100% static.
Using a variable allows the compiler to inline the check, e.g. generate
a single-uop TEST+Jcc, and thus eliminates any desire to avoid checking
inhibits for performance reasons.
No functional change intended.
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230106011306.85230-32-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Documentation/powerpc')
0 files changed, 0 insertions, 0 deletions