kvm: memslots lookup optimization
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | kvm: update_memslots: drop not needed check for the same number of pagesvirt/ | +13 | 0 replies | |
| 2/5 | kvm: update_memslots: drop not needed check for the same slotvirt/ | +11 | 0 replies | |
| 3/5 | kvm: search_memslots: add simple LRU memslot cachinginclude/ | +10 | 0 replies | |
| 4/5 | kvm: change memslot sorting rule from size to GFNvirt/ | +11 | 0 replies | |
| 5/5 | kvm: optimize GFN to memslot lookup with large slots amountinclude/ virt/ | +29 | 3 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Radim Krčmář |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] kvm: memslots lookup optimization
Series speed-ups GFN to memslot lookup time by:
* introducing LRU cache, which improves looukup time for same slot workload (typically boot time of Windows and Linux guest)
* switching to binary search for GFN to memslot lookup, improving lookup time with large amount of memory slots
Igor Mammedov (5):
kvm: update_memslots: drop not needed check for the same number of
pages
kvm: update_memslots: drop not needed check for the same slot
kvm: search_memslots: add simple LRU memslot caching
kvm: change memslot sorting rule from size to GFN
kvm: optimize GFN to memslot lookup with large slots amount
include/linux/kvm_host.h | 28 +++++++++++++++++++++++----- virt/kvm/kvm_main.c | 46 ++++++++++++++++++++++++++-------------------- 2 files changed, 49 insertions(+), 25 deletions(-)
Signature · 1 line
1.8.3.1