Skip to content
Commit 06e155c4 authored by Sean Christopherson's avatar Sean Christopherson Committed by David Woodhouse
Browse files

KVM: Skip unnecessary "unmap" if gpc is already valid during refresh



When refreshing a gfn=>pfn cache, skip straight to unlocking if the cache
already valid instead of stuffing the "old" variables to turn the
unmapping outro into a nop.

Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
Signed-off-by: default avatarDavid Woodhouse <dwmw@amazon.co.uk>
parent 58f5ee5f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment