Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp62848pxb; Wed, 25 Aug 2021 20:06:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyci81FtEKM1J+9LrFp5s+CDsUsMx6qP33cHJqjswTZBrc7gv3pjl6MEYdY5/MEKDDh+9/E X-Received: by 2002:a17:906:3983:: with SMTP id h3mr1827762eje.249.1629947178094; Wed, 25 Aug 2021 20:06:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629947178; cv=none; d=google.com; s=arc-20160816; b=tqSf58DC1Ql/jPqqacvWGFR+WYPsR37gxCZfX3NI91ZU/LE28gYFOYweIFjASb16cb 1i9b8ToWNpnCFxOmvJhT/7YoQFuay4l7h+8tbuekg6VMtqbY1+D/QUZUhCAFG1QRXEsp HV94LKVaGM9RMXQuzrS/987T4MFmtcwamsD40EQIef5lsKDPyPWohOPHdt7BMfov+PCx SzZ1GJCGjZ+IfiYddHAtli8QoDpkqXuPHADjXEDcGARY9z11OivkIDiXFk2YdmD5ECfF Cxd55tW7sVZ1F9BIQm3OO1Txz5h5B6ck4bnbfdLHuJan4n4/JdiBPM/Fsfbp2dyCLVIx TatA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject:dkim-signature; bh=Hf4b8kKe8+zCps4bUNp1ug1RGqjC8xfMz7Zwk5whBzY=; b=xxnlEDP8gh7FFCzofDCJvQINq1B4w7c06WUSrXJXK/DsE3OVa+iyr6oEVWdNeHFpiv vopqEo4O5fbRLkDDJbpGlGnxsa8tBnj+2PvpbprEKYI8GZ3/k5TAKYVRskK08Y35ZodF O7Vkk/WWlNbfKgWeGOllF1gJ9bdKvmvEEbieCTR4qtXQAcuwsjorj1N/u4q+InhMUNy3 TVJC0oPhEbvpXE/KFLDRQX/zOMTZchuiJBGcsmcGQS/RsI+08JVT7+OV3AMIXEbBI6iu iZnIpV1SUCMzYiObyPIZmmONkIj75+kmefGQstHLmWEp1lFj/onjlGuwLMrvZp8hI6+L 92HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20150623.gappssmtp.com header.s=20150623 header.b=AdhaKecF; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id co10si1711612edb.200.2021.08.25.20.05.52; Wed, 25 Aug 2021 20:06:18 -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=@bytedance-com.20150623.gappssmtp.com header.s=20150623 header.b=AdhaKecF; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236708AbhHZDFV (ORCPT + 99 others); Wed, 25 Aug 2021 23:05:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235697AbhHZDFU (ORCPT ); Wed, 25 Aug 2021 23:05:20 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EBC9C061757 for ; Wed, 25 Aug 2021 20:04:34 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id z24-20020a17090acb1800b0018e87a24300so1361773pjt.0 for ; Wed, 25 Aug 2021 20:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=Hf4b8kKe8+zCps4bUNp1ug1RGqjC8xfMz7Zwk5whBzY=; b=AdhaKecFsynrryav1LJhn4GpBg3BUa/8LEsccr/8oQstjlgJUHwMlii/xBzCN6bcxG oyBfpm5K3+yLYPiE0kYB70B7rj2uh8XJwVsxqem7TIsoVWDYZdrUzo59QEkndUQK3qgw eNpCAgg9Civ3hnAh9KMiHazns2fYng1BcVr/3725nr8X1lDBEcar1/ekBXDgaVM29HZf hoIvZDzdkZQxQQjFW3AYgEbkjYYKMaX/UiF5lDwXV+ESbNEW/fCQVrWkimJ+WTRj/a2v cnvASVT4zujztBYqZLaWdoyT5UtugtlgMHu1vErwY/h6UJ7EOXfY2GkMju78p2c943UA 9fvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Hf4b8kKe8+zCps4bUNp1ug1RGqjC8xfMz7Zwk5whBzY=; b=uF2cQetzujkHjNpPrPd9EyTSpwbCu3ZoyFIrePBh/c5YdAoSt9TdFwTP9v9Md5dqUJ vjP0elHqBqjkonRpIhttnT+I+ZWTG+YUmLue2H1INeHegxBQ6EeFsCwZg0GrtIRLOwGR oAKQebAqvzBYwH+Vu46/8MfY0QQHzC+8Q4cVvDy2YlNY0+c+/rmLgCFhTWU9r1rkzddb F/zJHQuyOHZaz0loe+n5jyzWz/qEl14c+dEtZKmOVk+leeHOTdG61RPpCrXeJfp9g/B+ xmSmiJe+cdfFAUPfLoLDvgcMfIcAov6E/OS6JxUp22GjNLn25lGNUb07Ynw3hHHOwPsF Wq9w== X-Gm-Message-State: AOAM530CdBPA2QKvhHuNpENoSl4dBXNzknSsYIfDBEXIWhWHQNfrhGH/ /wnqIAdKgCT6YdiVgq7NiN/EhA== X-Received: by 2002:a17:902:b10b:b0:134:de66:4f8c with SMTP id q11-20020a170902b10b00b00134de664f8cmr1419984plr.66.1629947073848; Wed, 25 Aug 2021 20:04:33 -0700 (PDT) Received: from [10.255.175.44] ([139.177.225.247]) by smtp.gmail.com with ESMTPSA id e18sm922154pfv.172.2021.08.25.20.04.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Aug 2021 20:04:33 -0700 (PDT) Subject: Re: [PATCH v2 1/9] mm: introduce pmd_install() helper To: David Hildenbrand , akpm@linux-foundation.org, tglx@linutronix.de, hannes@cmpxchg.org, mhocko@kernel.org, vdavydov.dev@gmail.com, kirill.shutemov@linux.intel.com, mika.penttila@nextfour.com Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, songmuchun@bytedance.com References: <20210819031858.98043-1-zhengqi.arch@bytedance.com> <20210819031858.98043-2-zhengqi.arch@bytedance.com> <324674f0-399b-aea4-e9b9-fe054a926fdf@redhat.com> From: Qi Zheng Message-ID: <4154bc99-e9c9-d194-dc07-577b9e5131e8@bytedance.com> Date: Thu, 26 Aug 2021 11:04:27 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <324674f0-399b-aea4-e9b9-fe054a926fdf@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/8/26 AM12:32, David Hildenbrand wrote: > On 25.08.21 18:20, Qi Zheng wrote: >> >> >> On 2021/8/25 AM12:26, David Hildenbrand wrote: >>> On 19.08.21 05:18, Qi Zheng wrote: >>>> Currently we have three times the same few lines repeated in the >>> >>> Reviewed-by: David Hildenbrand >> >> Thanks for your review, I will add this to the patch v3. >> >>> >>> That's mostly unrelated to the remaining part of the series and can be >>> picked up early. >> >> The implementation of subsequent patches depends on pmd_install(). >> So I am worried that if this patch is submitted as a separate patch, >> subsequent patches will not be updated until this patch is merged. >> What do you think? > > Usually I tend to send cleanups out independently, and then just base > the other series on top of the other series. LGTM, I will submit [PATCH v2 1/9] and [PATCH v2 2/9] as a separate patch series. > > I'll have some more comments in reply to v2. It's fairly hard to revie > because you do a lot of complicated stuff in only a handful of patches > :) I'll try to think of something reasonable on how to split this up to > make it easier to digest. > Thank you very much, and I look forward to your suggestions. At the same time, I'll also find ways to organize the code more clearly and concisely, and add documentation to explain the new APIs. Thanks, Qi