From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>,
David Dgien via B4 Relay
<devnull+dgienda125.gmail.com@kernel.org>
Cc: David Dgien <dgienda125@gmail.com>, Tyler Reece <mtreece@acm.org>
Subject: Re: [PATCH v2] tlsf: Add tracking of added tlsf memory pools
Date: Mon, 07 Apr 2025 09:38:30 +0200 [thread overview]
Message-ID: <174401151046.1113855.8515418841350564185.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20250406-tlsf-addpool-v2-1-880c64d19d59@gmail.com>
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@pengutronix.de>
prev parent reply other threads:[~2025-04-07 7:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-07 2:24 David Dgien via B4 Relay
2025-04-07 7:38 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=174401151046.1113855.8515418841350564185.b4-ty@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=devnull+dgienda125.gmail.com@kernel.org \
--cc=dgienda125@gmail.com \
--cc=mtreece@acm.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox