* [PATCH LOCAL] arm64: renesas_defconfig: Reduce NR_CPUS to 8
@ 2019-04-02 13:06 Geert Uytterhoeven
2019-04-03 9:38 ` Simon Horman
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2019-04-02 13:06 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Mark Rutland, linux-renesas-soc, Geert Uytterhoeven
The maximum number of arm64 CPU cores (excluding the real-time core) in
Renesas ARM SoCs is 8.
The default value of NR_CPUS used to be 64, causing a negligible kernel
size increase of ca. 16 KiB, compared to the minimum needed value of 8.
As of commit 846a415bf4408ccd ("arm64: default NR_CPUS to
256"), the default value of NR_CPUS was increased to 256, increasing the
waste by another 78 KiB.
Reduce NR_CPUS to 8, reducing kernel size by ca. 94 KiB.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/configs/renesas_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/renesas_defconfig b/arch/arm64/configs/renesas_defconfig
index 5561d30a3f270e26..4480e7dc40180bcd 100644
--- a/arch/arm64/configs/renesas_defconfig
+++ b/arch/arm64/configs/renesas_defconfig
@@ -40,6 +40,7 @@ CONFIG_ARCH_RENESAS=y
# CONFIG_HISILICON_ERRATUM_161600802 is not set
CONFIG_ARM64_VA_BITS_48=y
CONFIG_SCHED_MC=y
+CONFIG_NR_CPUS=8
CONFIG_SECCOMP=y
CONFIG_KEXEC=y
CONFIG_CRASH_DUMP=y
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH LOCAL] arm64: renesas_defconfig: Reduce NR_CPUS to 8
2019-04-02 13:06 [PATCH LOCAL] arm64: renesas_defconfig: Reduce NR_CPUS to 8 Geert Uytterhoeven
@ 2019-04-03 9:38 ` Simon Horman
0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2019-04-03 9:38 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Magnus Damm, Mark Rutland, linux-renesas-soc
On Tue, Apr 02, 2019 at 03:06:19PM +0200, Geert Uytterhoeven wrote:
> The maximum number of arm64 CPU cores (excluding the real-time core) in
> Renesas ARM SoCs is 8.
>
> The default value of NR_CPUS used to be 64, causing a negligible kernel
> size increase of ca. 16 KiB, compared to the minimum needed value of 8.
> As of commit 846a415bf4408ccd ("arm64: default NR_CPUS to
> 256"), the default value of NR_CPUS was increased to 256, increasing the
> waste by another 78 KiB.
>
> Reduce NR_CPUS to 8, reducing kernel size by ca. 94 KiB.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Thanks,
I have applied this to the topic/renesas-defconfig branch which is included
in the devel branch and tags of the Renesas tree as a convenience to
developers. The branch is not, however, included in the next branch or
tags nor is it targeted at upstream.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-03 9:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-02 13:06 [PATCH LOCAL] arm64: renesas_defconfig: Reduce NR_CPUS to 8 Geert Uytterhoeven
2019-04-03 9:38 ` Simon Horman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.