Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752202Ab0LFJcR (ORCPT ); Mon, 6 Dec 2010 04:32:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:8828 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752052Ab0LFJcN (ORCPT ); Mon, 6 Dec 2010 04:32:13 -0500 Date: Mon, 6 Dec 2010 11:32:08 +0200 From: Gleb Natapov To: Marcelo Tosatti Cc: Xiao Guangrong , Avi Kivity , LKML , KVM Subject: Re: [PATCH v4 1/3] KVM: MMU: rename 'no_apf' to 'prefault' Message-ID: <20101206093208.GA15610@redhat.com> References: <4CF76A8B.2040102@cn.fujitsu.com> <20101203203055.GB26281@amt.cnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101203203055.GB26281@amt.cnet> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1114 Lines: 25 On Fri, Dec 03, 2010 at 06:30:55PM -0200, Marcelo Tosatti wrote: > On Thu, Dec 02, 2010 at 05:44:43PM +0800, Xiao Guangrong wrote: > > It's the speculative path if 'no_apf = 1' and we will specially handle this > > speculative path in the later patch, so 'prefault' is better to fit the sense > > > > Signed-off-by: Xiao Guangrong > > --- > > arch/x86/include/asm/kvm_host.h | 3 ++- > > arch/x86/kvm/mmu.c | 18 +++++++++--------- > > arch/x86/kvm/paging_tmpl.h | 4 ++-- > > 3 files changed, 13 insertions(+), 12 deletions(-) > > Looks good to me. Avi, Gleb? Looks mostly OK to me too. Third patch check only cr3 but cr4 & efer can affect paging too, but since page fault is not injected anyway in case of an error and for most guests cr4 & efer shouldn't change frequently I guess this is OK. -- Gleb. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/