Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932670AbbELJkZ (ORCPT ); Tue, 12 May 2015 05:40:25 -0400 Received: from mga11.intel.com ([192.55.52.93]:61749 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932237AbbELJkW (ORCPT ); Tue, 12 May 2015 05:40:22 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,414,1427785200"; d="scan'208";a="727776471" Message-ID: <5551C9BC.5060204@linux.intel.com> Date: Tue, 12 May 2015 17:37:00 +0800 From: Xiao Guangrong User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Paolo Bonzini CC: gleb@kernel.org, mtosatti@redhat.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/9] KVM: MMU: introduce slot_handle_level_range() and its helpers References: <1431397953-16642-1-git-send-email-guangrong.xiao@linux.intel.com> <1431397953-16642-5-git-send-email-guangrong.xiao@linux.intel.com> <5551B842.6060807@redhat.com> In-Reply-To: <5551B842.6060807@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 554 Lines: 20 On 05/12/2015 04:22 PM, Paolo Bonzini wrote: > > > On 12/05/2015 04:32, Xiao Guangrong wrote: >> + if (iterator.rmap) >> + flush |= fn(kvm, iterator.rmap); >> + >> + if (need_resched() || spin_needbreak(&kvm->mmu_lock)) { >> + if (flush & lock_flush_tlb) { > > &&, not &. (Cosmetic only). Will fix. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/