Skip to content

kvmppc: optimize path run on every exit

[email protected] kvm-ppc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3kvmppc: optimize irq delivery patharch/powerpc/kvm/booke_guest.c arch/powerpc/kvm/emulate.c arch/powerpc/kvm/powerpc.c +2 more+117 -1232 replies
1/3kvmppc: optimize irq delivery patharch/powerpc/kvm/booke_guest.c arch/powerpc/kvm/emulate.c arch/powerpc/kvm/powerpc.c +1 more+149 -1320 replies
2/3kvmppc: optimize kvm stat handlingarch/powerpc/kvm/booke_guest.c+12 -281 reply
2/3kvmppc: optimize kvm stat handlingarch/powerpc/kvm/booke_guest.c+9 -230 replies
3/3kvmppc: optimize find first bitarch/powerpc/kvm/booke_guest.c+1 -11 reply
3/3kvmppc: optimize find first bitarch/powerpc/kvm/booke_guest.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] kvmppc: optimize path run on every exit

From: Christian Ehrhardt <[email protected]>

A small patch series of optimizations out of our discussions and my experiments this week.
All patches improve the generic path executed for every exit we take, therefore even a littel improvement can help a lot.

I would be happy if we could apply those soon. I'll continue looking into the TLB stuff eating ~30% of our time. But since that might take a while I would be happy if these three patches could be applied now (and relieve me, by not having to keep them in sync).

Comments welcome, especially since exits still feel too long (current assumption cache or tlb issues). See my other mails about exit timing on [email protected]

[patches in series]
Subject: [PATCH 1/3] kvmppc: optimize irq delivery path
Subject: [PATCH 2/3] kvmppc: optimize kvm stat handling
Subject: [PATCH 3/3] kvmppc: optimize find first bit

---
[diffstat]

 arch/powerpc/kvm/booke_guest.c   |  184 +++++++++++++++------------------------
 b/arch/powerpc/kvm/booke_guest.c |    2
 b/arch/powerpc/kvm/emulate.c     |   64 ++++++-------
 b/arch/powerpc/kvm/powerpc.c     |    5 -
 b/include/asm-powerpc/kvm_asm.h  |   18 +++
 b/include/asm-powerpc/kvm_ppc.h  |    9 -
 6 files changed, 130 insertions(+), 152 deletions(-)