From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH 0/2] Optimize atomic efer loading Date: Thu, 23 Dec 2010 11:33:23 -0200 Message-ID: <20101223133323.GA17819@amt.cnet> References: <1292928860-6438-1-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:15623 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753191Ab0LWOjT (ORCPT ); Thu, 23 Dec 2010 09:39:19 -0500 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.13.8/8.13.8) with ESMTP id oBNEdImg016437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 23 Dec 2010 09:39:19 -0500 Content-Disposition: inline In-Reply-To: <1292928860-6438-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Dec 21, 2010 at 12:54:18PM +0200, Avi Kivity wrote: > In some cases we resort to loading EFER via the atomic msr load on entry/exit > facility. This is incredibly slow. Use the faster entry/exit LOAD_IA32_EFER > controls instead, when available. > > Avi Kivity (2): > KVM: VMX: Add definitions for more vm entry/exit control bits > KVM: VMX: Optimize atomic EFER load > > arch/x86/include/asm/vmx.h | 8 ++++++++ > arch/x86/kvm/vmx.c | 30 ++++++++++++++++++++++++++++++ > 2 files changed, 38 insertions(+), 0 deletions(-) Applied, thanks.