Skip to content

Kill decode_cache

Avi Kivity kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: x86 emulator: rename decode_cache::eip to _eiparch/x86/include/asm/kvm_emulate.h arch/x86/kvm/emulate.c arch/x86/kvm/trace.h +1 more+65 -650 replies
2/2KVM: x86 emulator: fold decode_cache into x86_emulate_ctxtarch/x86/include/asm/kvm_emulate.h arch/x86/kvm/emulate.c arch/x86/kvm/trace.h +1 more+630 -7440 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/2] Kill decode_cache

This mostly mindless patchset folds decode_cache into its enclosing struct, x86_emulate_context. The point is to remove tons of pointless

       struct decode_cache *c = &ctxt->decode;

lines from the code, which contribute absolutely nothing.

Avi Kivity (2):
KVM: x86 emulator: rename decode_cache::eip to _eip
KVM: x86 emulator: fold decode_cache into x86_emulate_ctxt

 arch/x86/include/asm/kvm_emulate.h |   46 +-
 arch/x86/kvm/emulate.c             | 1275 +++++++++++++++++-------------------
 arch/x86/kvm/trace.h               |    8 +-
 arch/x86/kvm/x86.c                 |   47 +-
 4 files changed, 631 insertions(+), 745 deletions(-)
Signature · 1 line
1.7.5.3