Optimize vcpu->requests processing
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest6 patches 10 repliesIn review
Changes in v3 from the cover letter
new approach using for_each_set_bit(), as the previous one might have skipped a bit.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | KVM: Don't use KVM_REQ_PENDING_TIMERarch/ arch/ | +2 | 2 replies | |
| 2/6 | KVM: Simplify KVM_REQ_EVENT/req_int_win handlingarch/ | +16 | 0 replies | |
| 3/6 | KVM: Move mmu reload out of linearch/ arch/ arch/ | +11 | 2 replies | |
| 4/6 | KVM: Optimize vcpu->requests checkingarch/ | +39 | 0 replies | |
| 5/6 | KVM: Reorder KVM_REQ_EVENT to optimize processinginclude/ | +7 | 0 replies | |
| 6/6 | KVM: Clean up vcpu->requests == 0 processingarch/ | +72 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/6] Optimize vcpu->requests processing
Currently, any time a request bit is set (not too uncommon) we check all of them. This patchset optimizes the process slightly by skipping over unset bits using for_each_set_bit().
v3:
new approach using for_each_set_bit(), as the previous one might have skipped a bit.
Avi Kivity (6):
KVM: Don't use KVM_REQ_PENDING_TIMER
KVM: Simplify KVM_REQ_EVENT/req_int_win handling
KVM: Move mmu reload out of line
KVM: Optimize vcpu->requests checking
KVM: Reorder KVM_REQ_EVENT to optimize processing
KVM: Clean up vcpu->requests == 0 processing
arch/x86/kvm/mmu.c | 4 +- arch/x86/kvm/svm.c | 1 + arch/x86/kvm/timer.c | 8 +-- arch/x86/kvm/x86.c | 142 ++++++++++++++++++++++++++--------------------- include/linux/kvm_host.h | 14 ++--- 5 files changed, 91 insertions(+), 78 deletions(-)
Signature · 1 line
1.7.11