From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] KVM: Simplify vcpu_enter_guest() mmu reload logic slightly Date: Mon, 28 Jun 2010 12:26:44 -0300 Message-ID: <20100628152644.GA4717@amt.cnet> References: <1277292378-9531-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]:36428 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751210Ab0F1QAq (ORCPT ); Mon, 28 Jun 2010 12:00:46 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5SG0k1o020350 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 28 Jun 2010 12:00:46 -0400 Content-Disposition: inline In-Reply-To: <1277292378-9531-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Jun 23, 2010 at 02:26:18PM +0300, Avi Kivity wrote: > No need to reload the mmu in between two different vcpu->requests checks. > > kvm_mmu_reload() may trigger KVM_REQ_TRIPLE_FAULT, but that will be caught > during atomic guest entry later. > > Signed-off-by: Avi Kivity > --- > arch/x86/kvm/x86.c | 12 +++++------- > 1 files changed, 5 insertions(+), 7 deletions(-) Applied, thanks.