git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f379cf
)
kvm: search_memslots: add simple LRU memslot caching
author
Igor Mammedov
<imammedo@redhat.com>
Mon, 1 Dec 2014 17:29:25 +0000
(17:29 +0000)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 4 Dec 2014 14:29:10 +0000
(15:29 +0100)
In typical guest boot workload only 2-3 memslots are used
extensively, and at that it's mostly the same memslot
lookup operation.
Adding LRU cache improves average lookup time from
46 to 28 cycles (~40%) for this workload.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/linux/kvm_host.h
patch
|
blob
|
history
diff --cc
include/linux/kvm_host.h
Simple merge