]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Drop unused @gpa param from gfn=>pfn cache's __release_gpc() helper
authorSean Christopherson <seanjc@google.com>
Fri, 29 Apr 2022 21:00:20 +0000 (21:00 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 25 May 2022 09:23:41 +0000 (05:23 -0400)
commitecbedacc606cfc7e31c60a46c269a538f94f1b57
treea8a245f6931d6e03db18014013f0a8d88c1cf09b
parent3260503a5eeff25d3645d9f47ddd818036168ada
KVM: Drop unused @gpa param from gfn=>pfn cache's __release_gpc() helper

Drop the @pga param from __release_gpc() and rename the helper to make it
more obvious that the cache itself is not being released.  The helper
will be reused by a future commit to release a pfn+khva combination that
is _never_ associated with the cache, at which point the current name
would go from slightly misleading to blatantly wrong.

No functional change intended.

Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220429210025.3293691-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/pfncache.c