commit | 251eb84144ec7aba5e344fb8553c67e749655aef | [log] [tgz] |
---|---|---|
author | Radim Krčmář <rkrcmar@redhat.com> | Fri Apr 10 21:47:27 2015 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri May 08 10:51:38 2015 +0200 |
tree | 7bdf7614318665a65267d274cae7fbf3205b5263 | |
parent | 4eb64dce8d0a3ceccc0036383e4683b7c3ea7a50 [diff] |
KVM: reuse memslot in kvm_write_guest_page Caching memslot value and using mark_page_dirty_in_slot() avoids another O(log N) search when dirtying the page. Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Message-Id: <1428695247-27603-1-git-send-email-rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>