]> 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)
commit75c629001af99852336f554fd17d3c9c5560abec
treea8a245f6931d6e03db18014013f0a8d88c1cf09b
parentd8f48c8663fc957672f88ab4aa49a454314c3303
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