diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-07-03 05:35:37 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-09 20:29:41 +0300 |
commit | 94ce87ef8177e436c5ee46b211c4e0cf490ae389 (patch) | |
tree | b465fdd0cf329e3b7c52399832c2bb536ae5f1fa /virt | |
parent | 378f5cd64aefd7e8527d40cc69d3aea275521fbc (diff) | |
download | linux-94ce87ef8177e436c5ee46b211c4e0cf490ae389.tar.xz |
KVM: x86/mmu: Prepend "kvm_" to memory cache helpers that will be global
Rename the memory helpers that will soon be moved to common code and be
made globaly available via linux/kvm_host.h. "mmu" alone is not a
sufficient namespace for globally available KVM symbols.
Opportunistically add "nr_" in mmu_memory_cache_free_objects() to make
it clear the function returns the number of free objects, as opposed to
freeing existing objects.
Suggested-by: Christoffer Dall <christoffer.dall@arm.com>
Reviewed-by: Ben Gardon <bgardon@google.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200703023545.8771-14-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions