Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp354555rwl; Thu, 30 Mar 2023 17:29:39 -0700 (PDT) X-Google-Smtp-Source: AKy350aD7VXJ9T2HWTBHNQNxILiBvGj0ns7/ZBa0/fOVWbvmvUWSfByS9IfOiJSKOHADnniV+E77 X-Received: by 2002:a05:6402:4315:b0:502:616b:cbd5 with SMTP id m21-20020a056402431500b00502616bcbd5mr4537759edc.2.1680222579302; Thu, 30 Mar 2023 17:29:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680222579; cv=none; d=google.com; s=arc-20160816; b=CuHcxZA7rrEcg3v7L+sYHDRTxsfcq5X4jq0YS7/zGSQo45hCcM/N7Xi7lvetqN6WJL 4lf+gQNstQpDUoNMBFjJNqS9y6k0hiOC1PqlsDRBT08hH47+p5b2Gc5rLMBjnclcxzd0 deVVdgx21iYeJ8YtrYLgSQqa1zg1LW8AzXk558IjTkYDnxi9HhaP8Ged0S1hRGhgo8ex pyQ7FjzHXpjoCzmRq2nRmlRu33EfMVa2yjMXPBJf0WY0BdBTJo/aTsCigqYC0bH4xACm XT+rki0q2Kaj7j9eBvqz/qygQ/4VJQ8LZX5vi2NbjWmvKh1R/EJuNgLQHmWDRXxUpEIz ItJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=MBMF8d3KU0G8qPZvlz1c4zQRMBJ9C0FEP2SNIdT2xZ0=; b=jKNfod/wDYZ29bfA813HojtabnqL53FXhv5jM93uGnwVL0XVKUOZQ3QYuMqs4ygyAi qVq7JI2XDZ/49tHRYUs+uVOk5D3qKXOh4oiy2WETAQfxQb/hkhSGmy4DDt33+uF1PN+B 393j5vsMrkkbnK18ZLu+YJ9+sv8g/Etr9hynu8gXJia0vLXQLUVE64fy+58GN0MkhoZb 8ijWYATdvSd3cMffs0As9lwqK/vwN3NE9izWLvr2zoFRZSke7FKr6ZMfyX3GOFAW+U32 DJmlt5U4BXuP1hRCM10VKifsUcAmnRqB9xI5gA0rkXPKUF+Vg2uWHu9Uf2TIKOaKHotJ Ix9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=cS3Eaolw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a5-20020aa7d905000000b004fe95e96aefsi809672edr.586.2023.03.30.17.29.14; Thu, 30 Mar 2023 17:29:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=cS3Eaolw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229500AbjCaAR3 (ORCPT + 99 others); Thu, 30 Mar 2023 20:17:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbjCaAR1 (ORCPT ); Thu, 30 Mar 2023 20:17:27 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB19E30F0 for ; Thu, 30 Mar 2023 17:16:20 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id k17so25646705ybm.11 for ; Thu, 30 Mar 2023 17:16:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1680221663; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=MBMF8d3KU0G8qPZvlz1c4zQRMBJ9C0FEP2SNIdT2xZ0=; b=cS3Eaolwiraj4/C/iRTPhv8AyRVCk4bDQUcZ+Hf9WJjZSEpxO97MtggHDfphUAAdIG t88uPMZ32fN0tm9nmRZZGRFah45LhbgZEx10ZsGbv0fTpCFusTd4QZHHDitBb5ouCWS2 rX08D/y4DDZ9hXIzD7VedmM7c7mJGDiY4oCez9s519HWwuzzdzy6JREB4N0JKJd2KtSK Mt3BuVtTfDyoZtai66d8eUjEDmOBuX62WF+9OqQqzRkywpD6i0mmxyJRfSjansSgGRBO KNXX4p5MfXct86xlK2kVOLTzcIf6se1bu9uElGS1KkvLZA+5ccnTOoF+TCY/dh0Cxx4t mr3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680221663; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MBMF8d3KU0G8qPZvlz1c4zQRMBJ9C0FEP2SNIdT2xZ0=; b=O+V97gZo62v8V0NQSaK/gZ+7tM6Jh+c3KImUdD7M4LqTXp9JFRq5VZ//jjOtGLnYHy EttpfSscXDmXuHGzvlOMmgXwB2twy3vYHEcjogAf1nhIBH3Br2vTL5CANLfzLBEu8Sy2 Kw9cVC8u2Vbw39NVpxROxi9ZP3njGa1wNmoczJiHIsyxbmaCp9xijhSBoeOwqK0Dt4Oh Y+Hxkwl9C7nqg8YhHw0ovfi9fjyMKG7CenADcDuRR2dw24QegQWgbC69FiZ0NZjzilai KeJcehDLwY+S+acjhozedc2wWem4NGPE5xb1T5RNHDrUnhjNy2TzTsdk6UMR54IWQ1sd kuyA== X-Gm-Message-State: AAQBX9cNMWG10OEjsBzaca9wXc8/getXD7TjoKZDRVFVO+GTNv2U5ytb p9/JQJf6gG0PprLecuIMWzhkbOcE+XU0BsJ5VCtiWg== X-Received: by 2002:a05:6902:102b:b0:b6c:48c3:3c1c with SMTP id x11-20020a056902102b00b00b6c48c33c1cmr17224970ybt.13.1680221662624; Thu, 30 Mar 2023 17:14:22 -0700 (PDT) MIME-Version: 1.0 References: <20230321220021.2119033-1-seanjc@google.com> In-Reply-To: <20230321220021.2119033-1-seanjc@google.com> From: Vipin Sharma Date: Thu, 30 Mar 2023 17:13:46 -0700 Message-ID: Subject: Re: [PATCH v4 00/13] KVM: x86/mmu: Optimize clear dirty log To: Sean Christopherson Cc: Paolo Bonzini , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, David Matlack , Ben Gardon Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-15.7 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,ENV_AND_HDR_SPF_MATCH, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 21, 2023 at 3:00=E2=80=AFPM Sean Christopherson wrote: > > This is a massaged version of Vipin's series to optimize clearing dirty > state in the TDP MMU. It's basically the same as v3, just spread out ove= r > more patches. The only meaningful difference in the end is that > clear_dirty_gfn_range() also gets similar treatment in handling Dirty vs. > Writable logic. > > Vipin, I'm still planning on applying this for 6.4, but the changes ended > up being a wee bit bigger than I'm comfortable making on the fly, thus th= e > formal posting. > Changes look good to me and verified by running perf test also that the improvement is still similar to previous version. Thanks for the v4 work.