diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2015-04-10 22:47:27 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-08 11:51:38 +0300 |
commit | 251eb84144ec7aba5e344fb8553c67e749655aef (patch) | |
tree | 7bdf7614318665a65267d274cae7fbf3205b5263 /lib/test_kasan.c | |
parent | 4eb64dce8d0a3ceccc0036383e4683b7c3ea7a50 (diff) | |
download | linux-251eb84144ec7aba5e344fb8553c67e749655aef.tar.xz |
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>
Diffstat (limited to 'lib/test_kasan.c')
0 files changed, 0 insertions, 0 deletions