Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1479465pxj; Fri, 4 Jun 2021 16:02:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLi7rQsxrP4+4umHSz1XMGsVyoz0h8PodurET1GstuOBaLaH6iiS8VONrh+l8blC1Z44wO X-Received: by 2002:a17:906:4dd1:: with SMTP id f17mr6312469ejw.528.1622847729257; Fri, 04 Jun 2021 16:02:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622847729; cv=none; d=google.com; s=arc-20160816; b=GCcqjMal3TN9eiHkRbb2cFBz1s1misRF4desuXwhEkayNp/gcfh13q+9lg3r1XIoF7 AQ3nWZ94O2spgcijNKQz/5YOrwBdrucX6f7Is1DWrRXbJvYeMvcVYRZfXECidXG0H5Rj b79saKT3xaK3Oy2h8t99QTM5xVJ83xMG/Y/2PmgxLBDqRn7vthiB3On5HwTYwedNLQi7 Cz8n7/SeRrgejvruuAFWbzULbWP8JoHo7Io42iK3klT4GFHp7tkSBymz6/GHt0HRfEx2 z/UJHjw6ayStv5BvNOYw0KPcOGhmu2CHGs5kSjK0lgzUvKUyT5zbASFAuKmChPWeILzp I99A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=FnDgNE0dNPabtyI2dYZ3+dwe3uiezt6oBtZnVyRVbsQ=; b=fj8V8Edo0M3eLOOf1Y/sL+XPkpZoJxbAjD/6tTQkaSVZOCZClEhSewEz5jWiP6aa0o TwENA0szOgQXoc14I27Wr0lwkh7NHDOhyHbxOjTW8H2VI7ZXyzMKfsjg8jtcQGWuLQJK dOY+Mxj3Xp2ELBOc44rOZD86C/n510yM/fAekhtSxRWEBPOWyZNKeSXgeIl+EPrd39lH 5salAJriPpBxRz/2MuiKWXGo3hJn6fb0maOpe3gc749b0sSOknF/TzYZcHItiLTeEcvV lBx16bi8kpfS/ZMiNXvSOz3LDQEKBu/dcoSnGYxnpHmVIABrKYrTMOwqpiwrPyhoCvOA fZnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=MQrZjxjq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j23si6806392eje.21.2021.06.04.16.01.45; Fri, 04 Jun 2021 16:02:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=MQrZjxjq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231558AbhFDW6j (ORCPT + 99 others); Fri, 4 Jun 2021 18:58:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229774AbhFDW6h (ORCPT ); Fri, 4 Jun 2021 18:58:37 -0400 Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0B6CC061766 for ; Fri, 4 Jun 2021 15:56:34 -0700 (PDT) Received: by mail-ot1-x32c.google.com with SMTP id 36-20020a9d0ba70000b02902e0a0a8fe36so10624601oth.8 for ; Fri, 04 Jun 2021 15:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=FnDgNE0dNPabtyI2dYZ3+dwe3uiezt6oBtZnVyRVbsQ=; b=MQrZjxjqB5TDz728+SZ0yR/naRwzsabVP2EXRIkN2Zs7e16978UTsfwBApajfC+xPp n5ul3MCgEuJFtFU7HYB3akUFtvJRvJbgS1WKWG60trstmkkhRZDfkiQQJgN1KeXQqWrn atgYQO04bvYwHKAoL7fsi2eYlk+ztYQvag7/2glGbYKipekToTVethwSMqi068uBL/6+ 45cYLIuvZGvEcLSXu+LbzWy4nyrQWGX1POSoCjeHfnNZIkeVvKBBvWMhPtMOb68lfzUg 8SLiIdVazXxzOWRpfBxSbDKzLHaA03qffpQwVdfwPzCqCdoIcZQtpWdZ9ZcXJKzvDSv5 NDmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=FnDgNE0dNPabtyI2dYZ3+dwe3uiezt6oBtZnVyRVbsQ=; b=MFSebPAJdcD5Phrn8QwevT+2DXnD8vqXgKeiNecJXKIIZiMc3v6WrD4l+RKzl79aZF qdxEMrB8hLOnznv0k6+WrRr9MYlplT0px4Ns3d/Tp5csG9HyITHLRJUSs4aaDekfkeMu MBV99rP8A6kGendYonfjV2MUZy/zu2mOmZ+C1SRz5GaylHXgWH5lDyPpJHX2taAnz/iG /f2ZwLowCRE9YP2gDiGtRAddhI04V4TzDzRJuvn1L2ENXWl8GSKQ2g4kt10xDZ6qPr2Y /S+gmKnEgB+FqqAfHctP7s3id5Rppl8C/qiSoMVk9okPmTsFfn/rZVAfSQseVQBHTQt3 sNwA== X-Gm-Message-State: AOAM533uXT3opDiOk2Ef0dpc2O6fE0VXKB0bjbQcZuNnrnn6pnabLD5F RIMU/gjOjq/b2ZzCf2JpFL5GTg== X-Received: by 2002:a05:6830:400b:: with SMTP id h11mr5623567ots.106.1622847394005; Fri, 04 Jun 2021 15:56:34 -0700 (PDT) Received: from eggly.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id f21sm741088oou.24.2021.06.04.15.56.32 (version=TLS1 cipher=ECDHE-ECDSA-AES128-SHA bits=128/128); Fri, 04 Jun 2021 15:56:33 -0700 (PDT) Date: Fri, 4 Jun 2021 15:56:31 -0700 (PDT) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: "Kirill A. Shutemov" cc: Hugh Dickins , Andrew Morton , "Kirill A. Shutemov" , Yang Shi , Wang Yugui , Matthew Wilcox , Naoya Horiguchi , Alistair Popple , Ralph Campbell , Zi Yan , Miaohe Lin , Minchan Kim , Jue Wang , Peter Xu , Jan Kara , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/7] mm/thp: fix page_vma_mapped_walk() if huge page mapped by ptes In-Reply-To: <20210604162402.iclcdd3ywynkoamy@box.shutemov.name> Message-ID: References: <20210604162402.iclcdd3ywynkoamy@box.shutemov.name> User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 4 Jun 2021, Kirill A. Shutemov wrote: > On Tue, Jun 01, 2021 at 02:13:21PM -0700, Hugh Dickins wrote: > > > > Merged various other minor fixes and cleanups into page_vma_mapped_walk() > > as I worked on it: which I find much easier to enumerate here than to > > prise apart into separate commits. > > But it makes it harder to review... > > I tried to review it and superficially it looks good, but it has to be > split into bunch of patches. I had hoped to avoid that. Okay, I'll try bisecting it into a preliminary cleanup patch then the bugfix patch, and see if that looks reviewable; divide it up further if not. But my idea of what's reviewable may differ. Hugh