Messages in this thread | | | Subject | Re: [PATCH] KVM: nSVM: Optimize L12 to L2 vmcb.save copies | From | Paolo Bonzini <> | Date | Tue, 2 Mar 2021 15:20:11 +0100 |
| |
On 02/03/21 01:59, Sean Christopherson wrote: >> + svm->vmcb->save.cr2 = svm->vcpu.arch.cr2 = vmcb12->save.cr2; > Same question for VMCB_CR2.
Besides the question of how much AMD processors actually use the clean bits (a quick test suggests "not much"), in this specific case I suspect that the check would be more expensive than the savings from a memory load.
Paolo
| |