Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp47711pxf; Wed, 10 Mar 2021 20:18:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxY4BNlDN9UApj//+n+jqOmlL+WXcbY54Q4m+Lh0bq0QDi2dogjyPvZKSHwI65kWiHTIZW1 X-Received: by 2002:a17:907:e8f:: with SMTP id ho15mr1147620ejc.541.1615436310996; Wed, 10 Mar 2021 20:18:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615436310; cv=none; d=google.com; s=arc-20160816; b=Zdrv5d+ZmaaPRaNOYad5jFDGSuuP25/QtpzfVb+rlItrfS2vu2ADrpmeDESHbRGZb1 yCpmIidcKqIO04CjohvotHTNMyDwjb1Bsnli5mWJywNAnYfX41CaWH7FGlr8DlxCcoZZ EEwTIuTkE5wTz4JoV0HU9z7ao/etL7PkQ2tiFLv7s68uYmbnTiCtI1+iCBoTXimtNbvR 6pSWHnz/f2BtpppD3sd6ZXhS7GfYqI7NdXEg9YcCAFmtSNeHUV49kgyB8w+AorhMFbfp Gkq9zrXcrdr058tQ8m64LTQGfaX0gONdPXXSZ7BcZkED534c0PyPTEOEklziSc7pevuy QlDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=CHh6/4LEcDfbrWFE9pgkCjj2iYEsHDp5LXynqSPwRXk=; b=ZsHiyWL2Ek95CNFN0PKpSfBM5rl2A13tC85gw92kSW0YxrKG/Ri9fzCx7yjvATR029 Tp7iaTk7oHAOW2LBTMS14oJ2QnkPoWcEl4fxZk81b6iym+ARfWc+9qoevCJiI0IF12S+ BAPmo2VertDQQxQQfMvd7usCSdmZCXfUC3Y9nbECXnGTXK1Uhr395GOifP0dbfTY2lWH 5afncgstAqV+hGPkAUlt/grND2StoeLM+DH+UdQkUohbYmZpb6MyqwX8wLcL0itpBlNt XTy0Ael+iMTmarTd6p0CDYvBVETY7AbS8YwiMtfoF/ZL6wX1pLt2hFX6CLnreDxv7Pov e4nw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ze11si962551ejb.434.2021.03.10.20.18.09; Wed, 10 Mar 2021 20:18:30 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230462AbhCKENS (ORCPT + 99 others); Wed, 10 Mar 2021 23:13:18 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:12708 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230453AbhCKEM6 (ORCPT ); Wed, 10 Mar 2021 23:12:58 -0500 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DwwTr5RYRzmVmM; Thu, 11 Mar 2021 12:10:40 +0800 (CST) Received: from [10.174.177.134] (10.174.177.134) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Thu, 11 Mar 2021 12:12:49 +0800 Subject: Re: [PATCH 0/3] Add support for free vmemmap pages of HugeTLB for arm64 To: Muchun Song , , , , , , , CC: , , , , Chen Huang References: <20210310071535.35245-1-songmuchun@bytedance.com> From: Chen Huang Message-ID: <3eae8b3e-d6e0-83c8-e9c6-5420767788d5@huawei.com> Date: Thu, 11 Mar 2021 12:12:38 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20210310071535.35245-1-songmuchun@bytedance.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.177.134] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2021/3/10 15:15, Muchun Song 写道: > This patchset is based on the series of "Free some vmemmap pages of HugeTLB > page". More details can refer to the below link. > > https://lkml.kernel.org/r/20210308102807.59745-1-songmuchun@bytedance.com > > I often received some feedback (We want to test this feature on arm64) before. > Because the previous code has been reviewed for 18 versions and is merged > into mm tree, I think that it is time to release this patchset. If you want > to test then you can start now :-). And I also hope someone can review this. > > Thanks. > > Muchun Song (3): > mm: bootmem_info: mark register_page_bootmem_info_section __init > mm: hugetlb: introduce arch_free_vmemmap_page > arm64: mm: hugetlb: add support for free vmemmap pages of HugeTLB > > arch/arm64/mm/mmu.c | 5 +++++ > arch/x86/mm/init_64.c | 5 +++++ > fs/Kconfig | 4 ++-- > mm/bootmem_info.c | 4 ++-- > mm/sparse-vmemmap.c | 9 +++++++-- > 5 files changed, 21 insertions(+), 6 deletions(-) > Tested-by: Chen Huang I have tested the patch and the result is same as the last time.