[PATCH 3/4] powerpc: qemu-ppce500_defconfig: increase malloc area to default 4 MiB
Ahmad Fatoum
a.fatoum at barebox.org
Mon Mar 2 05:47:35 PST 2026
qemu-ppce500 was the only PowerPC board with a 1 MiB malloc area, while
other boards range from 16 to 64 MiB and the Kconfig default is 4 MiB.
The small heap caused the talloc stress test to run out of memory
(the test randomly allocates up to 1024 buffers of 1-4096 bytes).
Drop the explicit CONFIG_MALLOC_SIZE override to use the default.
Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
arch/powerpc/configs/qemu-ppce500_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/powerpc/configs/qemu-ppce500_defconfig b/arch/powerpc/configs/qemu-ppce500_defconfig
index 6a0e070f4996..318db05ba3cd 100644
--- a/arch/powerpc/configs/qemu-ppce500_defconfig
+++ b/arch/powerpc/configs/qemu-ppce500_defconfig
@@ -1,7 +1,6 @@
CONFIG_ARCH_MPC85XX=y
CONFIG_QEMU_PPCE500=y
CONFIG_NAME="qemu-ppce500_defconfig"
-CONFIG_MALLOC_SIZE=0x100000
CONFIG_RELOCATABLE=y
CONFIG_CMDLINE_EDITING=y
CONFIG_AUTO_COMPLETE=y
--
2.47.3
More information about the barebox
mailing list