From: Avi Kivity Subject: [PATCH 0/2] Segment cleanups and optimizations Date: Thu, 28 Apr 2011 12:23:19 +0300 Message-ID: <1303982601-30666-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]:12083 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751310Ab1D1JXf (ORCPT ); Thu, 28 Apr 2011 05:23:35 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p3S9NYHw008056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 28 Apr 2011 05:23:34 -0400 Received: from cleopatra.tlv.redhat.com (cleopatra.tlv.redhat.com [10.35.255.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p3S9NXsk007770 for ; Thu, 28 Apr 2011 05:23:34 -0400 Sender: kvm-owner@vger.kernel.org List-ID: The first patch in this segment-themed patchset cleans up segment handling in the emulator; while the second patch undoes some of the performance hit taken by the emulator segment limit checks. Avi Kivity (2): KVM: x86 emulator: consolidate segment accessors KVM: VMX: Cache vmcs segment fields arch/x86/include/asm/kvm_emulate.h | 13 +--- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/emulate.c | 122 ++++++++++++++++++++---------------- arch/x86/kvm/vmx.c | 102 +++++++++++++++++++++++++++--- arch/x86/kvm/x86.c | 41 +++--------- 5 files changed, 176 insertions(+), 103 deletions(-) -- 1.7.4.3