[Xenomai] [PATCH] copperplate: Limit memory usage tlsf-heap

Philippe Gerum rpm at xenomai.org
Fri Dec 9 12:03:06 CET 2016

On 12/06/2016 03:26 PM, Ronny Meeus wrote:
> Before this patch the system memory pool's (tlsf variant) behavior was
> to grow in case allocations were done when depleted. This is a
> contradiction with the expected behavior (see mem-pool-size tunable
> documentation). When the pool is depleted, an error should be retuned
> instead of growing the pool.
> This patch solves this bug.
> To be backwards compatible an option has been introduced that allows the
> configuration of the pool's growing capability. The default is

Since growing the pool was a bug causing an inconsistency with all other
allocators (such as the one used when enabling process shared heaps), we
need no backward compatibility, only the fix.


More information about the Xenomai mailing list