diff options
author | Igor Mammedov <imammedo@redhat.com> | 2014-12-01 18:29:26 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-12-04 15:29:11 +0100 |
commit | 0e60b0799fedc495a5c57dbd669de3c10d72edd2 (patch) | |
tree | 3417687e0dc1104d47100368bead30faacad6c4b /fs/libfs.c | |
parent | kvm: search_memslots: add simple LRU memslot caching (diff) | |
download | linux-0e60b0799fedc495a5c57dbd669de3c10d72edd2.tar.xz linux-0e60b0799fedc495a5c57dbd669de3c10d72edd2.zip |
kvm: change memslot sorting rule from size to GFN
it will allow to use binary search for GFN -> memslot
lookups, reducing lookup cost with large slots amount.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions