[PATCH LOCAL] arm64: renesas_defconfig: Reduce NR_CPUS to 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux