[0/2] MIPS: Adjust SPARSEMEM Kconfigs

Message ID 20231028-mm-v1-0-45377cd158cf@flygoat.com
Headers
Series MIPS: Adjust SPARSEMEM Kconfigs |

Message

Jiaxun Yang Oct. 28, 2023, 1:52 p.m. UTC
  Hi,

This series adjusted some mm Kconfigs, mainly sparsemem related.

Hope it is not too late for 6.7 :-)

Thanks
- Jiaxun 

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
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,
  

Comments

Gregory CLEMENT Nov. 30, 2023, 8:15 a.m. UTC | #1
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@bootlin.com>

Thanks,

Gregory
>
> Hope it is not too late for 6.7 :-)
>
> Thanks
> - Jiaxun 
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> ---
> 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@flygoat.com>
>