From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753808AbbJPIU0 (ORCPT ); Fri, 16 Oct 2015 04:20:26 -0400 Received: from mail-lb0-f170.google.com ([209.85.217.170]:35924 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753573AbbJPIUW (ORCPT ); Fri, 16 Oct 2015 04:20:22 -0400 Subject: Re: [PATCH 0/5 v2] KVM: x86: MMU: Eliminate extra memory slot searches in page fault handlers To: Takuya Yoshikawa References: <20151016170315.779ef31701287a3826b44892@lab.ntt.co.jp> Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org From: Paolo Bonzini Message-ID: <5620B340.7040909@redhat.com> Date: Fri, 16 Oct 2015 10:20:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151016170315.779ef31701287a3826b44892@lab.ntt.co.jp> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/10/2015 10:03, Takuya Yoshikawa wrote: > v2: Based on Paolo's suggestion, kept the common code as much as possible by > introducing memslot_valid_for_gpte(). > > Note: instead of joining all checks by boolean operators, splitted the > no_dirty_log case off to be a separate if-check because it is checking > clearly different thing than the rest. See patch 4 for details. Of course that's better. Series applied, thanks. Paolo