summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/svm/pmu.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-10-08 19:12:20 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2021-12-08 04:24:57 -0500
commit724b3962ef808388005b860450bfbef6bade26b3 (patch)
tree2df60d35620ee8b6100b3e3dce2b7dbac10601e0 /arch/x86/kvm/svm/pmu.c
parentcfb0e1306a3790eb055ebf7cdb7b0ee8a23e9b6e (diff)
KVM: VMX: Move Posted Interrupt ndst computation out of write loop
Hoist the CPU => APIC ID conversion for the Posted Interrupt descriptor out of the loop to write the descriptor, preemption is disabled so the CPU won't change, and if the APIC ID changes KVM has bigger problems. No functional change intended. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20211009021236.4122790-28-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/pmu.c')
0 files changed, 0 insertions, 0 deletions