From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 09/11] KVM: MMU: remove the mismatch shadow page Date: Wed, 27 Jul 2011 12:11:56 +0300 Message-ID: <4E2FD65C.9000402@redhat.com> References: <4E2EA3DB.7040403@cn.fujitsu.com> <4E2EA58B.1030503@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , LKML , KVM To: Xiao Guangrong Return-path: In-Reply-To: <4E2EA58B.1030503@cn.fujitsu.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 07/26/2011 02:31 PM, Xiao Guangrong wrote: > If the shadow page has different cpu mode with current vcpu, we do better > remove them since the OS does not changes cpu mode frequently > This is true, but is it really needed? Won't such pages be torn down very quickly anyway, and will never be reestablished? -- error compiling committee.c: too many arguments to function