From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH 2/8] KVM: MMU: set the dirty bit for the upper shadow page Date: Mon, 9 Jan 2012 09:30:05 -0200 Message-ID: <20120109113005.GB5255@amt.cnet> References: <4EEB19AF.5070501@linux.vnet.ibm.com> <4EEB1A00.8090707@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , LKML , KVM To: Xiao Guangrong Return-path: Content-Disposition: inline In-Reply-To: <4EEB1A00.8090707@linux.vnet.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Fri, Dec 16, 2011 at 06:14:24PM +0800, Xiao Guangrong wrote: > Upper page do not need to be tracked the status bit, it is safe to set the > dirty and let cpu to happily prefetch it > > Signed-off-by: Xiao Guangrong > --- > arch/x86/kvm/mmu.c | 13 +++++-------- > 1 files changed, 5 insertions(+), 8 deletions(-) Dirty bit is ignored in non-leaf pagetable entries.