diff options
author | David Matlack <dmatlack@google.com> | 2021-08-13 20:35:00 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-01 03:44:52 -0400 |
commit | 68be1306caea8948738cab04014ca4506b590d38 (patch) | |
tree | 4ef4f123382f5232d19c5780a0d7710a71ebab81 /tools/perf/scripts/python/check-perf-trace.py | |
parent | b1a429fb18011505acad931f409415c8bb5b5c28 (diff) |
KVM: x86/mmu: Fold rmap_recycle into rmap_add
Consolidate rmap_recycle and rmap_add into a single function since they
are only ever called together (and only from one place). This has a nice
side effect of eliminating an extra kvm_vcpu_gfn_to_memslot(). In
addition it makes mmu_set_spte(), which is a very long function, a
little shorter.
No functional change intended.
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20210813203504.2742757-3-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions