On Tue, Dec 01, 2015 at 11:29:05AM -0800, Dmitriy Cherkasov wrote:
> On arm64, running the included switchtest program hits the default
> system heap limit of 256k.
>
> The program creates 97 threads, each allocating space on the system heap
> for struct cobalt_thread (3616 bytes on arm64). This adds up to a total
> of 350725 bytes required.
>
> This patch increases the default system heap size to 512k.
The number of threads depends on the number of cpus, so, if a
64 bits octo-core requires simply doubling the size, the patch looks
reasonable. Alternatively, we can keep 256 KiB for the !SMP case,
and simply change the default in the SMP case.
--
Gilles.
https://click-hack.org
_______________________________________________
Xenomai mailing list
[email protected]
http://xenomai.org/mailman/listinfo/xenomai