Re: [PATCH 07/11] KVM: SVM: do not allocate struct svm_cpu_data dynamically

From: Paolo Bonzini
Date: Wed Nov 09 2022 - 11:01:49 EST


On 11/9/22 16:58, Sean Christopherson wrote:
At some point we should replace the vcpu->cpu usage with this_cpu_ptr(). All of
the code that does per_cpu_ptr(&svm_data, vcpu->cpu) is doomed if vcpu->cpu isn't
the current CPU.

Yes, I agree with all your other comments but I think they're better done in next.

Paolo