[PATCH v2] tlsf: Add tracking of added tlsf memory pools

Sascha Hauer s.hauer at pengutronix.de
Mon Apr 7 00:38:30 PDT 2025


On Sun, 06 Apr 2025 22:24:40 -0400, David Dgien via B4 Relay wrote:
> When configured to use the TLSF allocator, the malloc_stats function
> only walks the initial memory pool, as that is the only pool it is aware
> of, and TLSF doesn't link pools together in a way that the walker can
> follow.
> 
> Add a wrapper function around tlsf_add_pool to add additional tracking
> of added pools, so that they can be walked by the malloc_stats function
> and meminfo can report accurate heap utilization.
> 
> [...]

Applied, thanks!

[1/1] tlsf: Add tracking of added tlsf memory pools
      https://git.pengutronix.de/cgit/barebox/commit/?id=a17c188826cf (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list