Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1095512iog; Wed, 15 Jun 2022 21:13:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ttfgrAkJEgZ8ni4dLKRKfZL3wVcWHtw2C0HXiSJl4WklAb99W+f2fVO5yj0Rau/AvF5/Sb X-Received: by 2002:a63:2055:0:b0:404:3941:e05e with SMTP id r21-20020a632055000000b004043941e05emr2777825pgm.66.1655352811830; Wed, 15 Jun 2022 21:13:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655352811; cv=none; d=google.com; s=arc-20160816; b=Z3ONoQjziiGqnGxXuP6ZOTUvUX+2d+HzOPSVhvaknTwMFoO8xe6UQ0l9r5p0uXVhTd f6A7IUJ0qH9vgdgnQ/DZ9n/1ricnN1qZMd5zGgrjF0VZr7Wt7jqzDfSyPVClci3AB+BH nXvRmPLqXTaBaZhTO/MYd31j0Wnk90Vi22Q10OTWJcklueZq9DAJLhEXcnbOMWh5PZRx FQlXh/MfDfjmSemvR9Q6SnP/0H4DwfeRzupiDwQ7wvnjjiTCtjZGxZgRc5EPpRBUS9FE rSC/ioFrOvVese3bPpTD5unr1BFl1evYv7YLhEQvOvvSC7vH4ZtjfMkmIorlezKBxVdm krHw== 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=CRNEs4vWfHi/zqEAbvBSLfQhK7itq93yjJkgH9b856k=; b=mGduids6+oKIzaZGSDsamCWHBsOmRA4O06o8mfNHuXCx7dJI/KJCE8Iv7tU12pd9sq aeGb/BceBWpXoAVquL73dMSkQWtbl559Ke8tAIu97dOK82s5KWrK4cd5mXqnafitwWz1 ZkJLoiOBF/CSVZwEN59Guc4iS3SwlUWQuVFilB2wUjqEn0R1f7O6UkXsAOaWUMQ0FDPy lSTaiB59xc9+KrgBaDYUjl32FUJld47WMjrsXpeCy32A2VRBIFH5vrWaoHN1lBB77u2k 37Qg7oIgrSjZiLgU9b7aShUGGzmJbLygysPE1NvXcIg2x5wFK9II+rFCZIzK+UijBsXb 58yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=bp+qSb4n; 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 q4-20020a056a00088400b0050dcf85b9e1si1478837pfj.141.2022.06.15.21.13.20; Wed, 15 Jun 2022 21:13:31 -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=bp+qSb4n; 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 S1349837AbiFPD2t (ORCPT + 99 others); Wed, 15 Jun 2022 23:28:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347241AbiFPD2r (ORCPT ); Wed, 15 Jun 2022 23:28:47 -0400 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 293ED59314 for ; Wed, 15 Jun 2022 20:28:46 -0700 (PDT) Received: by mail-pf1-x429.google.com with SMTP id e11so353661pfj.5 for ; Wed, 15 Jun 2022 20:28:46 -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=CRNEs4vWfHi/zqEAbvBSLfQhK7itq93yjJkgH9b856k=; b=bp+qSb4nchxuHn/5omBmyxKVlhzvIagSwgOSKahCBQ5IBwm7MxAjm1Z3AiosRh0UDu Y6RNcPIgWEVd0DCdN91FtMZ5kZRzvOivWSHXIbrEc+RxSEngb2aB7tZ5xlOm8AgwDN3H +UPJFaZZyXo3X+PfRkoD78nJjQbVRIFA4nY6+sgiBmhLjgb6/TTzDevY9H+l9Gnrr2l7 RVlKniKqEOLr8WrSH+1boOd/MhbpTJf42HP/iqGEdNNeS+WUwJ2UBOL5td8sTv0cjBxA ytREFDIhmcBwNz5NayKzvxMaNa8mYtasUvdlgAl9KwFZYsiwWfBgP6N4D1qwz0ve5q4G hahg== 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=CRNEs4vWfHi/zqEAbvBSLfQhK7itq93yjJkgH9b856k=; b=nfUADumW1i/5har4f33PHTjUS4lwByxdYmnt+bT3FolvnRrmP2CSiCMDwbLWPfM8QZ kIc5jUBkKuDb1RCsomPf9MN3kRWEChbFW3gHPozPOtbgUfXXORs4svvR79WYmG+a9twx MzOrR2rkDl0w8y1rmE2/Ii7A7MwMmfIyxwUT+yBgtBUaxHZjteMU9jjsbuY0tzwA/Tbk r/S7JDMBqYPgM131Cs7WYAA6iE1QroDAirPvmZ1fq85EqELykmvPSUmw5c4QspxzUJZI 4LKU/tE7Gy3XtSJplvSbqlhYVvi/vhSWiJ/xZFXg619J4IzYU+hbz/FNMidPu76XvBjs iNfQ== X-Gm-Message-State: AJIora+ogtur3vhTu42k+jvMLJW0IGDR1Y9ijJT41lXlBN0EN9SyEeO6 mAKOStioePpkLjUckGi22WBqJw== X-Received: by 2002:a65:6b8a:0:b0:3fc:4c06:8a8d with SMTP id d10-20020a656b8a000000b003fc4c068a8dmr2661868pgw.83.1655350125598; Wed, 15 Jun 2022 20:28:45 -0700 (PDT) Received: from localhost ([139.177.225.255]) by smtp.gmail.com with ESMTPSA id n62-20020a622741000000b0050dc7628146sm421598pfn.32.2022.06.15.20.28.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 20:28:45 -0700 (PDT) Date: Thu, 16 Jun 2022 11:28:40 +0800 From: Muchun Song To: Joao Martins , mike.kravetz@oracle.com, david@redhat.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, akpm@linux-foundation.org, corbet@lwn.net 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> <41e2d762-2c0d-b13b-d6da-6e0e0e858a84@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <41e2d762-2c0d-b13b-d6da-6e0e0e858a84@oracle.com> 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 Wed, Jun 15, 2022 at 03:51:51PM +0100, Joao Martins wrote: > On 6/13/22 07:35, 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. > > > > Just thought I would throw this suggestion, even though I am probably too late. > Not too late, we are still discussing the name. > I find the term "vmemmap deduplication" more self-explanatory (at least for me) > to refer to your technique ,and similarly s/optimize/dedup. Or vmemmap tail page > deduplication (too verbose maybe) because really that's what this optimization is all > about. OTOH it would slightly deviate from what maybe established now > in hugetlb code. > Well, I have looked up this word "deduplication" which refers to a method of eliminating a dataset’s redundant data. At least I agree with you "deduplication" is more expressive for my technique. So I am thinking of renaming "HVO" to "HVD ( HugeTLB Vmemmap Deduplication)". In this series (patch 6), I have renamed hugetlb_vmemmap_alloc/free to hugetlb_vmemmmap_optimize/restore. I am also thinking of replacing it to: hugetlb_vmemmmap_deduplicate vs hugetlb_vmemmmap_duplicate. Many other places in hugetlb_vmemmap.c use "optimize" word, maybe most of them do not need to be changed since "deduplication" is also a __optimization__ technique. Hi Mike and David: What your opinion on this? I want to hear some thoughts from you. THanks.