From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Guangrong Subject: Re: [PATCH 5/5] KVM: MMU: fast invalid all mmio sptes Date: Mon, 18 Mar 2013 15:38:05 +0800 Message-ID: <5146C45D.4010903@linux.vnet.ibm.com> References: <51433D98.4050605@linux.vnet.ibm.com> <51433E71.2070107@linux.vnet.ibm.com> <20130316111330.6e077a421aa580d80dc08641@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , Gleb Natapov , LKML , KVM To: Takuya Yoshikawa Return-path: Received: from e28smtp01.in.ibm.com ([122.248.162.1]:58382 "EHLO e28smtp01.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751122Ab3CRHiQ (ORCPT ); Mon, 18 Mar 2013 03:38:16 -0400 Received: from /spool/local by e28smtp01.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 18 Mar 2013 13:04:34 +0530 In-Reply-To: <20130316111330.6e077a421aa580d80dc08641@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On 03/16/2013 10:13 AM, Takuya Yoshikawa wrote: > On Fri, 15 Mar 2013 23:29:53 +0800 > Xiao Guangrong wrote: > >> +/* >> + * The caller should protect concurrent access on >> + * kvm->arch.mmio_invalid_gen. Currently, it is used by >> + * kvm_arch_commit_memory_region and protected by kvm->slots_lock. >> + */ >> +void kvm_mmu_invalid_mmio_spte(struct kvm *kvm) > > kvm_mmu_invalidate_mmio_sptes() may be a better name. Yes, i am not good at naming, this is a better name, thank you!