Messages in this thread | | | Date | Wed, 20 May 2015 22:12:48 +0200 | From | Radim Krčmář <> | Subject | Re: [PATCH 9/9] KVM: x86: pass struct kvm_mmu_page to account/unaccount_shadowed |
| |
2015-05-19 19:25+0200, Paolo Bonzini: > Prepare for multiple address spaces this way, since a VCPU is not available > where unaccount_shadowed is called. We will get to the right kvm_memslots > 1truct through the role field in struct kvm_mmu_page.
struct kvm_mmu_page contains enough information to retrieve a memslot; is it impractical to cache the memslot pointer there?
| |