[PATCH] sandbox: increase MALLOC_SIZE from 4M to 16M
Sascha Hauer
sha at pengutronix.de
Wed Feb 10 04:18:35 EST 2021
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 at 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 at 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 |
More information about the barebox
mailing list