* [PATCH] sandbox: increase MALLOC_SIZE from 4M to 16M
@ 2021-02-08 10:46 Ahmad Fatoum
2021-02-10 9:18 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2021-02-08 10:46 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
4M of malloc space is quite limited when comparing this to the systems
that run Linux and use barebox for bootstrap. Increase the malloc size
in sandbox to be better able to test code that does bigger allocations.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
arch/sandbox/configs/sandbox_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/sandbox/configs/sandbox_defconfig b/arch/sandbox/configs/sandbox_defconfig
index 66fcfbdbd0a3..d9d96d948155 100644
--- a/arch/sandbox/configs/sandbox_defconfig
+++ b/arch/sandbox/configs/sandbox_defconfig
@@ -1,3 +1,4 @@
+CONFIG_MALLOC_SIZE=0x1000000
CONFIG_HUSH_FANCY_PROMPT=y
CONFIG_CMDLINE_EDITING=y
CONFIG_AUTO_COMPLETE=y
--
2.30.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] sandbox: increase MALLOC_SIZE from 4M to 16M
2021-02-08 10:46 [PATCH] sandbox: increase MALLOC_SIZE from 4M to 16M Ahmad Fatoum
@ 2021-02-10 9:18 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2021-02-10 9:18 UTC (permalink / raw)
To: Ahmad Fatoum; +Cc: barebox
On Mon, Feb 08, 2021 at 11:46:01AM +0100, Ahmad Fatoum wrote:
> 4M of malloc space is quite limited when comparing this to the systems
> that run Linux and use barebox for bootstrap. Increase the malloc size
> in sandbox to be better able to test code that does bigger allocations.
>
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
> arch/sandbox/configs/sandbox_defconfig | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks
Sascha
>
> diff --git a/arch/sandbox/configs/sandbox_defconfig b/arch/sandbox/configs/sandbox_defconfig
> index 66fcfbdbd0a3..d9d96d948155 100644
> --- a/arch/sandbox/configs/sandbox_defconfig
> +++ b/arch/sandbox/configs/sandbox_defconfig
> @@ -1,3 +1,4 @@
> +CONFIG_MALLOC_SIZE=0x1000000
> CONFIG_HUSH_FANCY_PROMPT=y
> CONFIG_CMDLINE_EDITING=y
> CONFIG_AUTO_COMPLETE=y
> --
> 2.30.0
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-10 9:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08 10:46 [PATCH] sandbox: increase MALLOC_SIZE from 4M to 16M Ahmad Fatoum
2021-02-10 9:18 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox