diff options
author | Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> | 2015-10-16 17:08:03 +0900 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-10-16 10:34:02 +0200 |
commit | 5225fdf8c8bea4418f69875804584c89a27c170e (patch) | |
tree | ab26c260f44204563e5bd685cfb0686128b8eaf1 /virt | |
parent | d8aacf5df86a961923a2c9c547d341d64a9d9f5d (diff) | |
download | lwn-5225fdf8c8bea4418f69875804584c89a27c170e.tar.gz lwn-5225fdf8c8bea4418f69875804584c89a27c170e.zip |
KVM: x86: MMU: Eliminate an extra memory slot search in mapping_level()
Calling kvm_vcpu_gfn_to_memslot() twice in mapping_level() should be
avoided since getting a slot by binary search may not be negligible,
especially for virtual machines with many memory slots.
Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions