From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [patch 2/3] KVM: MMU: skip global pgtables on sync due to cr3 switch Date: Fri, 31 Oct 2008 21:43:50 +0200 Message-ID: <490B5FF6.4040806@redhat.com> References: <20081025223111.498934405@localhost.localdomain> <20081025223243.863908646@localhost.localdomain> <49045426.1080807@redhat.com> <20081031193603.GC21772@dmt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Marcelo Tosatti Return-path: Received: from mx2.redhat.com ([66.187.237.31]:39314 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751925AbYJaTnm (ORCPT ); Fri, 31 Oct 2008 15:43:42 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id m9VJhgFQ026868 for ; Fri, 31 Oct 2008 15:43:42 -0400 In-Reply-To: <20081031193603.GC21772@dmt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: Marcelo Tosatti wrote: >> But a more accurate approach is to keep a count >> of non-global present mappings, and to activate the global logic when >> this count is nonzero. >> > > I don't think the overhead it adds is significant for the added > complexity? > Not sure what you're asking exactly (-ENOPARSE). I don't think it's worthwhile to account for !global -> global transitions. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.