çå: [PATCH] arm64: mm: free unused memmap for sparse memory model that define VMEMMAP

From: liwei (CM)
Date: Wed Jul 22 2020 - 23:28:41 EST




-----éäåä-----
åää: Anshuman Khandual [mailto:anshuman.khandual@xxxxxxx]
åéæé: 2020å7æ23æ 10:33
æää: liwei (CM) <liwei213@xxxxxxxxxx>; catalin.marinas@xxxxxxx; will@xxxxxxxxxx
æé: Song Bao Hua (Barry Song) <song.bao.hua@xxxxxxxxxxxxx>; sujunfei <sujunfei2@xxxxxxxxxxxxx>; Xiaqing (A) <saberlily.xia@xxxxxxxxxxxxx>; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; steve.capper@xxxxxxx; Chenfeng (puck) <puck.chen@xxxxxxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx; rppt@xxxxxxxxxxxxx; fengbaopeng <fengbaopeng2@xxxxxxxxxxxxx>; nsaenzjulienne@xxxxxxx; butao <butao@xxxxxxxxxxxxx>
äé: Re: [PATCH] arm64: mm: free unused memmap for sparse memory model that define VMEMMAP



On 07/21/2020 01:02 PM, Wei Li wrote:
> For the memory hole, sparse memory model that define SPARSEMEM_VMEMMAP
> do not free the reserved memory for the page map, this patch do it.
>
> Signed-off-by: Wei Li <liwei213@xxxxxxxxxx>
> Signed-off-by: Chen Feng <puck.chen@xxxxxxxxxxxxx>
> Signed-off-by: Xia Qing <saberlily.xia@xxxxxxxxxxxxx>
> ---
> arch/arm64/mm/init.c | 81
> +++++++++++++++++++++++++++++++++++++++++++++-------
> 1 file changed, 71 insertions(+), 10 deletions(-)

This patch does not compile on 5.8-rc6 with defconfig.

Hi,

We're working on patch v2 as soon as possible.

Thanks.