From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5103EC433E0 for ; Mon, 1 Mar 2021 03:02:05 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id BE47C64E09 for ; Mon, 1 Mar 2021 03:02:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BE47C64E09 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=bytedance.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 3CD1E8D002D; Sun, 28 Feb 2021 22:02:04 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 356C68D0019; Sun, 28 Feb 2021 22:02:04 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1F58C8D002D; Sun, 28 Feb 2021 22:02:04 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0164.hostedemail.com [216.40.44.164]) by kanga.kvack.org (Postfix) with ESMTP id ED4FF8D0019 for ; Sun, 28 Feb 2021 22:02:03 -0500 (EST) Received: from smtpin16.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id B10FA181AEF1F for ; Mon, 1 Mar 2021 03:02:03 +0000 (UTC) X-FDA: 77869806126.16.E75585B Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by imf18.hostedemail.com (Postfix) with ESMTP id 96B76200038D for ; Mon, 1 Mar 2021 03:02:02 +0000 (UTC) Received: by mail-pj1-f42.google.com with SMTP id jx13so6638167pjb.1 for ; Sun, 28 Feb 2021 19:02:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=GSiKByfZ5sqEV0qlOVhjWGxYdaWwaDIUdK2lORLzOS0=; b=ScCVJ0YypEy9MWpAu9R+ZNlfSdfwEpgJAxQFP/l3D0VDMmjBCQ3vzrVPFWhT25prCj QXpGyxHcSbNpVLiMISI/iCjxFsHc4dDIkA4EuVtGQmdynb1UUw3QA3C6177M7HJJpVdQ 2oHKGLvEm/skQ9iXU55IE9jzrKshZDXrVsz50f78kRmzg/lL+MFtIFxR1Ep2Tyick7TF WFSl4S2UJPWN9MUz74NFEXEqpZNcJ8zRf4RchXpZ+64i22hXDYsJWA2BmFOuszbLCYWY r/jwOV0+WCDa7Onk+WEWPlrFNUFBH60Ids0G9DKUKvkOOAbTk4gN2Ri1da1QBerJFzlI dewg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=GSiKByfZ5sqEV0qlOVhjWGxYdaWwaDIUdK2lORLzOS0=; b=KY3OIcg7zECLS9D+90DodCVE2MLrJ/2rl1zoM1OosGhpUihZthvSpLLvXacQGxq+C2 7a2gXa44nAOt7TuNG5JoXLo/AfWUsR0z9+Ol3GV4ZlHpoF37Z+5EX3qzwxFGIh0VUoW/ lq0RcjrYcgAfgnXcm1OUi/BHddd+kF1RpyED8Aei80mjnP2IdHxNQ06DjguYkRepIvcD F6KzmuroynqzFvCF+hhfdzdUaNMSMEfbefR6azCHmYBnKbtJSxBfwuAiUaxIwbVcMyRb fNfAE20Cmshh3IE5HiTRstpsfStfzWb+++x9XHOQ9NxOSMYMGl1HZSL8EpmjAtjL8U6g AedQ== X-Gm-Message-State: AOAM533cL+yVTsc+inkMjEjFTH79ZyxUlutTVl4GVEm6i/MaUhWCY5ke XravNas4DcK1HkbDuTfOTkmWLfEG16PuTOeQtco7Dw== X-Google-Smtp-Source: ABdhPJwEVjHQ1fPeJFLixQCWUSnlzdl/87wWdv9p8yk+ouhkV58sQu0KSI0Fa2jLhHCKNFak15hUdD0cupv16k+ZTO4= X-Received: by 2002:a17:902:e54e:b029:e3:9f84:db8e with SMTP id n14-20020a170902e54eb02900e39f84db8emr13640880plf.24.1614567719209; Sun, 28 Feb 2021 19:01:59 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Muchun Song Date: Mon, 1 Mar 2021 11:01:23 +0800 Message-ID: Subject: Re: [External] Re: [PATCH v17 1/9] mm: memory_hotplug: factor out bootmem core functions to bootmem_info.c To: "Bodeddula, Balasubramaniam" Cc: "akpm@linux-foundation.org" , "almasrymina@google.com" , "anshuman.khandual@arm.com" , "bp@alien8.de" , "corbet@lwn.net" , "dave.hansen@linux.intel.com" , "david@redhat.com" , "duanxiongchun@bytedance.com" , "hpa@zytor.com" , "joao.m.martins@oracle.com" , "jroedel@suse.de" , "linmiaohe@huawei.com" , "linux-doc@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "luto@kernel.org" , "mchehab+huawei@kernel.org" , "mhocko@suse.com" , "mike.kravetz@oracle.com" , "mingo@redhat.com" , "naoya.horiguchi@nec.com" , "oneukum@suse.com" , "osalvador@suse.de" , "paulmck@kernel.org" , "pawan.kumar.gupta@linux.intel.com" , "peterz@infradead.org" , "rdunlap@infradead.org" , "rientjes@google.com" , "song.bao.hua@hisilicon.com" , "tglx@linutronix.de" , "viro@zeniv.linux.org.uk" , "willy@infradead.org" , "x86@kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Stat-Signature: eq8qbrm16pwa5t6ioyg3miy91yrryp6z X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 96B76200038D Received-SPF: none (bytedance.com>: No applicable sender policy available) receiver=imf18; identity=mailfrom; envelope-from=""; helo=mail-pj1-f42.google.com; client-ip=209.85.216.42 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1614567722-552002 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sat, Feb 27, 2021 at 2:06 AM Bodeddula, Balasubramaniam wrote: > > Tested-by: bodeddub@amazon.com Very thanks for your test. > > > > We are interested in this patch and have tested an earlier version of thi= s patch on 5.11-rc4 kernel version. I did a functional validation of the ch= anges and saw that the total memory listed by free command increasing and m= ore memory was made available when memory was allocated in hugepages. 1G hu= gepages gave higher improvements compared to 2M, as expected. Is there a fo= rmal way to publish the results? I can do the same as required (I am new to= Linux Kernel patching process). I don=E2=80=99t know if there is a formal way. But maybe you can share the test result directly through this thread. If someone knows this, please let me know. Thanks. > > > > I have a few follow-up questions on this patch: > > 1. What is the overall status of this patch? What is the ballpark timelin= e we are looking for this patch to be accepted. There is only one patch of this patchset that has no reviewed-by tag. I think it might be 5.13 in the best case But I don't have the right to decide. > > 2. Why is this patch not working when memory is allocated as hugepages by= THP (transparent hugepages). THP uses AnonHugePages, doesn=E2=80=99t this = patch generalize for all =E2=80=98type=E2=80=99 of hugepages? Now it only supports HugeTLB pages. THP is a little different and complex compared to HugeTLB. I need to investigate THP in depth to determine the possible problems. > > > > Please let me know if there are any additional tasks that I can help. Hap= py to help. > > > > Thanks.