From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Guangrong Subject: Re: [PATCH v2 2/2] KVM: x86: Avoid zapping mmio sptes twice for generation wraparound Date: Thu, 04 Jul 2013 18:27:42 +0800 Message-ID: <51D54E1E.8030501@linux.vnet.ibm.com> References: <20130704133928.85fd1aab.yoshikawa_takuya_b1@lab.ntt.co.jp> <20130704134126.394b3e67.yoshikawa_takuya_b1@lab.ntt.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: gleb@redhat.com, pbonzini@redhat.com, kvm@vger.kernel.org, agraf@suse.de, borntraeger@de.ibm.com, cornelia.huck@de.ibm.com, christoffer.dall@linaro.org To: Takuya Yoshikawa Return-path: Received: from e28smtp09.in.ibm.com ([122.248.162.9]:46262 "EHLO e28smtp09.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750769Ab3GDK1x (ORCPT ); Thu, 4 Jul 2013 06:27:53 -0400 Received: from /spool/local by e28smtp09.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 4 Jul 2013 15:52:59 +0530 Received: from d28relay01.in.ibm.com (d28relay01.in.ibm.com [9.184.220.58]) by d28dlp02.in.ibm.com (Postfix) with ESMTP id 893D7394005E for ; Thu, 4 Jul 2013 15:57:45 +0530 (IST) Received: from d28av04.in.ibm.com (d28av04.in.ibm.com [9.184.220.66]) by d28relay01.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r64ASDW628704906 for ; Thu, 4 Jul 2013 15:58:13 +0530 Received: from d28av04.in.ibm.com (loopback [127.0.0.1]) by d28av04.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r64ARjue015444 for ; Thu, 4 Jul 2013 20:27:46 +1000 In-Reply-To: <20130704134126.394b3e67.yoshikawa_takuya_b1@lab.ntt.co.jp> Sender: kvm-owner@vger.kernel.org List-ID: On 07/04/2013 12:41 PM, Takuya Yoshikawa wrote: > Now that kvm_arch_memslots_updated() catches every increment of the > memslots->generation, checking if the mmio generation has reached its > maximum value is enough. > Reviewed-by: Xiao Guangrong