Re: [PATCH 0/2] MIPS: Adjust SPARSEMEM Kconfigs

From: Gregory CLEMENT
Date: Thu Nov 30 2023 - 03:16:01 EST


Hello Jiaxun,

> Hi,
>
> This series adjusted some mm Kconfigs, mainly sparsemem related.

Following your feedback on my series adding support for EyeQ5[1]. I
tested those 2 patches and as expected it reduces a lot the memory
consumption, memap consumes 512 pages again while without these patches
it consumed 8672 pages.

You can add on both patches my

Tested-by: Gregory CLEMENT <gregory.clement@xxxxxxxxxxx>

Thanks,

Gregory
>
> Hope it is not too late for 6.7 :-)
>
> Thanks
> - Jiaxun
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>
> ---
> Jiaxun Yang (2):
> MIPS: Enable SPARSEMEM option unconditionally on 64BIT
> MIPS: generic: Set SPARSEMEM by default for 64BIT kernel
>
> arch/mips/Kconfig | 14 +++++++++-----
> arch/mips/loongson2ef/Kconfig | 4 ++--
> 2 files changed, 11 insertions(+), 7 deletions(-)
> ---
> base-commit: 66f1e1ea3548378ff6387b1ce0b40955d54e86aa
> change-id: 20231028-mm-82dc717e9e49
>
> Best regards,
> --
> Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>
>

--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com