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 <[email protected]>
---
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 <[email protected]>
Select ARCH_SPARSEMEM_DEFAULT for 64bit generic kernel build,
as all platforms supported by 64bit generic kernel have a hole
in their address space.
Signed-off-by: Jiaxun Yang <[email protected]>
---
arch/mips/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index d12e8f3c1d08..fad05f699efd 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -133,6 +133,7 @@ choice
config MIPS_GENERIC_KERNEL
bool "Generic board-agnostic MIPS kernel"
+ select ARCH_SPARSEMEM_DEFAULT if 64BIT
select MIPS_GENERIC
select BOOT_RAW
select BUILTIN_DTB
--
2.34.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 <[email protected]>
Thanks,
Gregory
>
> Hope it is not too late for 6.7 :-)
>
> Thanks
> - Jiaxun
>
> Signed-off-by: Jiaxun Yang <[email protected]>
> ---
> 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 <[email protected]>
>
--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com