Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1085238iog; Mon, 13 Jun 2022 21:21:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywiYfWN4BSStnHyFS6MRzad7CZzurZoNUE8PVYNyRX+D4mLLjEsF7M3vNfZDKWPDq/D+jX X-Received: by 2002:a17:906:1c9:b0:712:1115:42a5 with SMTP id 9-20020a17090601c900b00712111542a5mr2470846ejj.662.1655180493551; Mon, 13 Jun 2022 21:21:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655180493; cv=none; d=google.com; s=arc-20160816; b=qm7ogD38uExrckvh9B06lPNFZaLXRI39FLt7CuZeqEoO8vMRmpMoy5rzO5o7aHrjIP hkcaja7r8waRTeCN3n9HM6JAb+qhmacxAff3FpaAzQ17ThVFy2s7dYOCkebJ4+dkgrZP wFjP80Gu1t2w7g+ztu8DCEILASvWxONgq1fRdMSc0hLHn5ZUdgtD5pK4MaaekY1IcbAo WalpFUSuJuaTcfkJc5oYOPk/ShVjK9txzeNjg2oiydUDG9Y4WqCp21nFZ1K6oUfZ9aPM xsqrqoFNMplwlkJS+2jJrV4n/N3u/P2UAaSP9JVqvKdizY5nDvQ3Cxo9hhUBL2CE4VMV QXkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1qN6OyaRDLN8PZ+93yGw5yJBTOUHt5MGOB2eLLMCogI=; b=TNL2uFyylCu7VJHXBFRZ1FBYN7xG4NkaE43AACzR9hmGyZeNllc0cyq56uqiEcD1ns SLQJeNIhzIw3gvZ4U62RC038VYIq3nT5HV5sNX2yZDN3UgDpzEJ0+O9reVWLVBoNezBD hl3uNLR2zqAMy4MFZCRBHdYtEzP++pC/iBPsXmDwJwbyuLboJTHatR914RPWbJFTW5Kk p23l35FX1DmQCMdLqBDa3shv7fiRR+7ncOPqCXYnsh5m7bla4Ft+zRXDwBzGv5Bec5if A+v2VEd2Z9ia0ChmM5uUbUjD6aYRDOyxn3lKQ3K//9YUQc1HoEg1CUhSUeCxBWhC3D6W uTUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=cMrFBCIP; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g20-20020a056402425400b0042ad03b5aacsi12359618edb.5.2022.06.13.21.21.08; Mon, 13 Jun 2022 21:21:33 -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=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=cMrFBCIP; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240551AbiFNDSA (ORCPT + 99 others); Mon, 13 Jun 2022 23:18:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234859AbiFNDR5 (ORCPT ); Mon, 13 Jun 2022 23:17:57 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CAE92E0B3 for ; Mon, 13 Jun 2022 20:17:55 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id e11so7445775pfj.5 for ; Mon, 13 Jun 2022 20:17:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=1qN6OyaRDLN8PZ+93yGw5yJBTOUHt5MGOB2eLLMCogI=; b=cMrFBCIPYz7c80i80c0FXtORHnLG3GjW5yZlTVd2mKvLYcPe0tAzISoqrP9Qf8Wp9P Vh+8L1urE9XjyjN7IL/1+2MpLTRg5IgOhE4SM5v7WFYnMjrHfWq2l0MA5S/sMwfUVby+ MthRAqvCngQMPtChLRHFvH1lUi6pCGnOTZ33tgSGP+2+KMPfPCgON4M1TEhaPy4fsK9Z 6pI7amuFqIGdzrI/3jxo7sSNAtoRzXlE9myGq5ybu6n5RkLEFzZlh8Q5QGJIdBR8PFGE FEQFtG2zRLxfEGM4itilu61zxTjT8YQqLw3fDNXFt+nwu+JgzMdctjpOq3RErTCHk//f pHng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=1qN6OyaRDLN8PZ+93yGw5yJBTOUHt5MGOB2eLLMCogI=; b=W1F0RqBYDERFZVACW0EnRdC8iAm2OxlrD7k1G1x10m0Kp0JA57lz2Qql48Fdolwynb VO3kf0k/uKy+edixqoCR4hvqnc0RoPa+cibMb8Awn0/NqibOP4mrtP4V1qiOvLkCrUhb t+scQVMzv6MpocjS/9zff84vQgG6PzaC1zuipIJP8gfEgaJLFkYoOOQ/kYhF3da1JazB NOLe4n/idxg2M5VmfsFH92JQi1+Ysd+tK9Ozv7rVcuuZPc2VZgNgrWHAz8Li6qBSLToo VIzobiyoBDdYYGn6183FnLi10O9TP1/P4Q2VpURE6oYTTgFQLe950MOsldSPfB18ahCd IcZA== X-Gm-Message-State: AOAM5328sSxYf43tZC4YmNgt1XTbpk4ubRmhAD0bnMUatUN0d1ZEqI1W VW0XkssSOx5eOyVreveHvWqi1w== X-Received: by 2002:a05:6a00:1350:b0:51c:26d2:9ce5 with SMTP id k16-20020a056a00135000b0051c26d29ce5mr2493957pfu.69.1655176674581; Mon, 13 Jun 2022 20:17:54 -0700 (PDT) Received: from localhost ([139.177.225.255]) by smtp.gmail.com with ESMTPSA id g13-20020a170902d1cd00b0016767ff327dsm5868146plb.129.2022.06.13.20.17.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jun 2022 20:17:54 -0700 (PDT) Date: Tue, 14 Jun 2022 11:17:51 +0800 From: Muchun Song To: Mike Kravetz Cc: david@redhat.com, akpm@linux-foundation.org, corbet@lwn.net, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH 3/6] mm: hugetlb_vmemmap: introduce the name HVO Message-ID: References: <20220613063512.17540-1-songmuchun@bytedance.com> <20220613063512.17540-4-songmuchun@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Mon, Jun 13, 2022 at 02:19:45PM -0700, Mike Kravetz wrote: > On Mon, Jun 13, 2022 at 02:35:09PM +0800”, Muchun Song wrote: > > It it inconvenient to mention the feature of optimizing vmemmap pages associated > > with HugeTLB pages when communicating with others since there is no specific or > > abbreviated name for it when it is first introduced. Let us give it a name HVO > > (HugeTLB Vmemmap Optimization) from now. > > > > This commit also updates the document about "hugetlb_free_vmemmap" by the way > > discussed in thread [1]. > > > > Link: https://lore.kernel.org/all/21aae898-d54d-cc4b-a11f-1bb7fddcfffa@redhat.com/ [1] > > Signed-off-by: Muchun Song > > --- > > > diff --git a/Documentation/admin-guide/mm/hugetlbpage.rst b/Documentation/admin-guide/mm/hugetlbpage.rst > > index a90330d0a837..64e0d5c512e7 100644 > > --- a/Documentation/admin-guide/mm/hugetlbpage.rst > > +++ b/Documentation/admin-guide/mm/hugetlbpage.rst > > @@ -164,8 +164,7 @@ default_hugepagesz > > will all result in 256 2M huge pages being allocated. Valid default > > huge page size is architecture dependent. > > hugetlb_free_vmemmap > > - When CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP is set, this enables optimizing > > - unused vmemmap pages associated with each HugeTLB page. > > + When CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP is set, this enables HVO. > > I think we need to define HVO before using it here. Readers may be able > to determine the meaning, but to be sure I would suggest: > Agree. > When CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP is set this enables > HugeTLB Vmemmap Optimization (HVO). > I would use this. Thanks. > Everything else looks good to me. > Reviewed-by: Mike Kravetz Thanks for your review.