Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp458480rwb; Wed, 7 Dec 2022 21:24:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf5TE2UaWSj4+4sw8P4mo1c0uGbJK71vJISh02SWoI7gaLW1OTfWOKCl9xISD8IXDkWES0vn X-Received: by 2002:a17:906:504:b0:7b5:2d9f:4019 with SMTP id j4-20020a170906050400b007b52d9f4019mr68538118eja.536.1670477050334; Wed, 07 Dec 2022 21:24:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670477050; cv=none; d=google.com; s=arc-20160816; b=YGkSujxCAcgetbMSmAcxL/HSN8Nil2pmokMjdLKe8xCBtlTNgQ8bNSwQVlIPUFwgCd FLRid20gh/vG8zqbGCvz+IkfL2x6LGJErbtqpS/D1XiPqG3+1cNZU19/2GtWWP5zD/Kq b9iFR2Wc2KMvxSj56Q/2zbFk2wOlzubdIp2CiuyRNfSIL6xrDAFqu5prm8vXy5FtxpOm uDbm60s/5qqOsv3S4KGKcotDLwvDDPHvGYUQUPC/k7XLMWws4mCml26I+KXgMpgmH0Eq LFJi20VJI67ox94ff8PUCNWYzFzKzY1fRyWrBWOBFCbeOdgQWGCisHSDDEXCiAfsFbMD EVfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=xV+uK2oSZ9jJ7++7f55PRM1gIS9Olu3FCuxCE/H11Z8=; b=vtA5AzXmGNhWtMy6T43Wj/C+mYqHVXV/1d7OAknbazipcVqTPtYXeRKj+bfq39/uB6 oFAt+R1GKGyQnwooSdzN/ossdV/ZbQzmnKNpqSCFqwZzda5kpAWbAK6rI+iQkcILWoVi WE9m1OuqrcQMcd2EOFXcvsxCpIXZidWMXm4zKYBOLAmR7sJR+ILHL+34+SYRXgWuI7R4 nhRwVHFCncEQmgDyd67wx0PLnZHy6PF6cC8Em1qaQUWC/8kGoFgJLFZmLOjRH8kXdKEX GLtj9mD1AWiYz2Mqrjd/Mx+amMrtJjxpIpBNjjdEYCsdZQjDCzlBTswp5gE0AKSc40HE HzNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=VZHdbDqW; 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=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hw8-20020a170907a0c800b0078049ab4bbasi13720677ejc.526.2022.12.07.21.23.45; Wed, 07 Dec 2022 21:24:10 -0800 (PST) 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=@linux.dev header.s=key1 header.b=VZHdbDqW; 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=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229571AbiLHEow (ORCPT + 73 others); Wed, 7 Dec 2022 23:44:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbiLHEot (ORCPT ); Wed, 7 Dec 2022 23:44:49 -0500 Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9125599F19 for ; Wed, 7 Dec 2022 20:44:48 -0800 (PST) Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1670474686; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xV+uK2oSZ9jJ7++7f55PRM1gIS9Olu3FCuxCE/H11Z8=; b=VZHdbDqW7Ue2/NcSbY9oO+Dk78yj2+jNqhIPtSnJ2Cbtr7KDAAOVfzV3WNa52Culm/vmZ2 LfRODpclC2w8byW2slZyYkGnltpgIp71nTGFsTmrCDZCM1llesDjcOJQhXsXuDrGJraid/ kHdrJhHTSxPX4VvJ3PgUk30p1aUZDNQ= Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: [PATCH mm-unstable v5 01/10] mm: add folio dtor and order setter functions X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <9a3b3346-4916-7ae5-5abc-4d3c34a0a0fa@nvidia.com> Date: Thu, 8 Dec 2022 12:44:27 +0800 Cc: Mike Kravetz , Sidhartha Kumar , linux-kernel@vger.kernel.org, Linux Memory Management List , Andrew Morton , Muchun Song , Matthew Wilcox , Mina Almasry , Miaohe Lin , hughd@google.com, tsahu@linux.ibm.com, David Hildenbrand Content-Transfer-Encoding: quoted-printable Message-Id: References: <20221129225039.82257-1-sidhartha.kumar@oracle.com> <20221129225039.82257-2-sidhartha.kumar@oracle.com> <4161AF1A-9508-4DF8-B756-FEB476EB32B5@linux.dev> <3F95112C-C1B3-4774-9E21-998CADEC38D4@linux.dev> <9a3b3346-4916-7ae5-5abc-4d3c34a0a0fa@nvidia.com> To: John Hubbard X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham 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 Dec 8, 2022, at 10:31, John Hubbard wrote: >=20 > On 12/7/22 18:19, Muchun Song wrote: >> How about adding a new helper like "folio_dissolve_compound(struct = folio *folio)"? >> then it may be unnecessary to add a comment. >=20 > Yes, and in fact, I just finished spelling out exactly how to do that, = in [1]. Thanks for your guidance. I have replied in thread [1]. >=20 >=20 > [1] = https://lore.kernel.org/all/d17530ad-8e12-8069-d619-a2d72fe80e15@nvidia.co= m/ >=20 >=20 > thanks, > --=20 > John Hubbard > NVIDIA