Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp6050734pxb; Mon, 8 Nov 2021 02:17:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJy2wappuKHhlZpW/VjsSacCyJ8sOVJIjxOxnBgub6e/5bmBwfIJRlQW5wPe5giTlmDQ72Sq X-Received: by 2002:a05:6402:3488:: with SMTP id v8mr79951805edc.170.1636366623525; Mon, 08 Nov 2021 02:17:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636366623; cv=none; d=google.com; s=arc-20160816; b=D8C9bCaZE6IxeoJdwfGwmnuaYLPLTv9MakYv8Ae1l2NnOVcEm965vQ3BeQYP8YjWZU h+C0XDsvuV2P7z8OhPtOSymW2qNC6xd+DOWJ+yF020og0QDDI1aLLzUf03vbRxLcmBde c9RPxx/hMCQbzyrJAtoHiP5rrlweqclWLlTu6z2vW4/hiUFC5plyM4RS2LCQtkHPrxIO uGqh7zq+2jQknzScF5cXUALzvgfeS798Yufo5N/oprvD2EWTyB5V5q4GvJV5KGMuwgtv e/PkBkcyzX7lzKv9rdsJE1fhEQlxivQpzcMSrYxg4Q7ajTcg3+No/nNE4g+V9irdzTHK e0qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=e5oR4Pjfl2f9V3U4NznnV9nmWC35FYhUexm9JqQPUc8=; b=VpeiC0+eV0ZZNAMTYV63xdTK+bKXpMu6/l4M+RJeTAlGKRzGhwUUXksytIZCoC08ed 4h1WU6ZbIIVaWv2Lq/1A+9WKgM5TtW1ymekd/6wB0COd59oz67IkcONBCAxtPkkdE/XI RswQSlAqve2JeaXziVd9KMr2brV8IM6wrSZJOT8hL7/hve/Uh2ycqCQtq7uydyDJTILI JdSe2f18XUU8lqKbLAcZ00Lz7sSlxMfw2v3IJeNYrmCRESa2iDKdE50ejeX9Su/S+MKG ie1pR0sVfVve0XcUg8Sb1E3DihwJn+q4mhc4RhK1sNQHmGr1F4wOVIl7R2ezEe0yRobu f/NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=1l41nRhn; 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 fp7si21915572ejc.326.2021.11.08.02.16.39; Mon, 08 Nov 2021 02:17:03 -0800 (PST) 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.20210112.gappssmtp.com header.s=20210112 header.b=1l41nRhn; 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 S234561AbhKHIUN (ORCPT + 99 others); Mon, 8 Nov 2021 03:20:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237852AbhKHIUM (ORCPT ); Mon, 8 Nov 2021 03:20:12 -0500 Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7C05C061714 for ; Mon, 8 Nov 2021 00:17:28 -0800 (PST) Received: by mail-yb1-xb33.google.com with SMTP id s186so41304858yba.12 for ; Mon, 08 Nov 2021 00:17:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e5oR4Pjfl2f9V3U4NznnV9nmWC35FYhUexm9JqQPUc8=; b=1l41nRhnO7I1eGxP/c68wJ5DBQ0XGJ8lN5DMwqlVc/7TN/zU+ltPwjk8SMVijZZr43 eAte3DcmoUJbVu6tTD67QKQxITk86RNdt1g3Iu9FVzXm1igJcyVg1zFefew5YtEvohju DRw9pjf6fuoYB6rSQ8M9J1F9y0fyTeFEz2ORBG/PWuvC0w/4zGUxJhEHmbrSGpllYJrZ GCa7cRNQl3xJL+Wissy/mStNpQzol9QX+pnfBbfBQFW7P64oOvBsmAMWOw7sNgFIt9lI Ht+HHwOot42mQ0ttkylEG/2dYgeGM8ch28daWUmtADUH/XOC+9ngAAySIn3u9tAGZOms lH0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=e5oR4Pjfl2f9V3U4NznnV9nmWC35FYhUexm9JqQPUc8=; b=dLXNRuFA+VoF1ntH128eUPQlftcFxLOiUdx43Isep0v0RuNXqt45RupUxLsYX2AKVT WQNmm4AhlZZ1S4KugfpBdPXaRFRItUU2/VElFEJiyV1Fk/upKcNedSLzzux6vvJt3S46 aBoHKSmalB6naQNqVNleaA8vykjmsk+T2uYtpGRqyqEyCAAaWjGewib1U1yiILUgeBb5 K6OKfdp1hIBUWNLidkkhnM/KTbG/4TsRVBwvI2eFRoFyBaKA3Sm5k8R6EDaMEwYNHrCo rF5vf5OkhcEMMXkEq90Bvt/8xHWZtsnCQrSUp4nNLYRFe1qFuJP9L4THR9ns35qUzj4o Q1eA== X-Gm-Message-State: AOAM533AqetYig8np4G1laAh2RlWoLHBRNgnBVaW+Hrr5gKDXkzV+GXg joYsLiEnADqzZXavDhtnycBnEj0Us/eeqetsCDCL/A== X-Received: by 2002:a05:6902:1342:: with SMTP id g2mr74674633ybu.419.1636359448098; Mon, 08 Nov 2021 00:17:28 -0800 (PST) MIME-Version: 1.0 References: <20211101031651.75851-1-songmuchun@bytedance.com> In-Reply-To: <20211101031651.75851-1-songmuchun@bytedance.com> From: Muchun Song Date: Mon, 8 Nov 2021 16:16:50 +0800 Message-ID: Subject: Re: [PATCH v7 0/5] Free the 2nd vmemmap page associated with each HugeTLB page To: Mike Kravetz , Andrew Morton , Oscar Salvador , Michal Hocko , David Hildenbrand , Jonathan Corbet , Matthew Wilcox Cc: Xiongchun duan , fam.zheng@bytedance.com, Muchun Song , Qi Zheng , linux-doc@vger.kernel.org, LKML , Linux Memory Management List , "Song Bao Hua (Barry Song)" , Barry Song <21cnbao@gmail.com>, Chen Huang , "Bodeddula, Balasubramaniam" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 1, 2021 at 11:22 AM Muchun Song wrote: > > This series can minimize the overhead of struct page for 2MB HugeTLB pages > significantly. It further reduces the overhead of struct page by 12.5% for > a 2MB HugeTLB compared to the previous approach, which means 2GB per 1TB > HugeTLB. It is a nice gain. Comments and reviews are welcome. Thanks. > Hi, Ping guys. Does anyone have any comments or suggestions on this series? Thanks.