KVM: nVMX: remove unnecessary double caching of MAXPHYADDR
authorEugene Korenevsky <ekorenevsky@gmail.com>
Sun, 29 Mar 2015 20:56:44 +0000 (23:56 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Apr 2015 08:46:58 +0000 (10:46 +0200)
commit92d71bc6951364c20f7d8c70a83cd93a68a63ea7
tree1633f3257a8c1f644f5db589f7a380297c3af63a
parent9090422f1ca5270795738549cf91a4ae7cb47662
KVM: nVMX: remove unnecessary double caching of MAXPHYADDR

After speed-up of cpuid_maxphyaddr() it can be called frequently:
instead of heavyweight enumeration of CPUID entries it returns a cached
pre-computed value. It is also inlined now. So caching its result became
unnecessary and can be removed.

Signed-off-by: Eugene Korenevsky <ekorenevsky@gmail.com>
Message-Id: <20150329205644.GA1258@gnote>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c