From: Avi Kivity Subject: [PATCH 0/2] Inline vmcs_readl() Date: Sun, 15 May 2011 10:13:11 -0400 Message-ID: <1305468793-2151-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]:19154 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760024Ab1EOONR (ORCPT ); Sun, 15 May 2011 10:13:17 -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 p4FEDHbX018669 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 15 May 2011 10:13:17 -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 p4FEDGqs010052 for ; Sun, 15 May 2011 10:13:17 -0400 Sender: kvm-owner@vger.kernel.org List-ID: The following two patches optimize vmcs_readl() to a single VMREAD instruction, instead of a call to a 7-instruction function. Avi Kivity (2): KVM: VMX: Move VMREAD cleanup to exception handler KVM: VMX: always_inline VMREADs arch/x86/include/asm/kvm_host.h | 6 +++++- arch/x86/kvm/vmx.c | 16 +++++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) -- 1.7.4.3