From: Avi Kivity Subject: [PATCH 0/2] Kill decode_cache Date: Wed, 1 Jun 2011 15:34:23 +0300 Message-ID: <1306931665-26507-1-git-send-email-avi@redhat.com> To: Marcelo Tosatti , kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:32637 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757021Ab1FAMe2 (ORCPT ); Wed, 1 Jun 2011 08:34:28 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p51CYSe3026185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 1 Jun 2011 08:34:28 -0400 Received: from cleopatra.tlv.redhat.com (cleopatra.tlv.redhat.com [10.35.255.11]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p51CYRFH024685 for ; Wed, 1 Jun 2011 08:34:28 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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(-) -- 1.7.5.3