From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>,
Sascha Hauer <s.hauer@pengutronix.de>
Subject: Re: [PATCH 0/2] FIT: Do not hash image data twice
Date: Tue, 06 Oct 2026 08:41:13 +0200 [thread overview]
Message-ID: <179126887359.540927.11131483808457193199.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20261001-fit-cache-fixes-v1-0-568bd214e5b0@pengutronix.de>
On Thu, 01 Oct 2026 09:11:19 +0200, Sascha Hauer wrote:
> Since we switched the FIT image code to the new loadable API we call
> fit_open_image() multiple times per boot. The FIT image code caches
> the image data, so we do not have to extract it multiple times, but
> it doesn't cache the hashing result, so we hash the image data each
> time.
>
> Mitigate this by caching the data in the loadable instead and call
> fit_open_image() only once. This makes the caching in the FIT image
> unnecessary, so it's removed.
>
> [...]
Applied, thanks!
[1/2] bootm: fit: open FIT images only once per loadable
https://git.pengutronix.de/cgit/barebox/commit/?id=1cfc5ddd4bd3 (link may not be stable)
[2/2] FIT: do not cache uncompressed data
https://git.pengutronix.de/cgit/barebox/commit/?id=b61e5278b44b (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
prev parent reply other threads:[~2026-10-06 6:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-01 7:11 Sascha Hauer
2026-10-01 7:11 ` [PATCH 1/2] bootm: fit: open FIT images only once per loadable Sascha Hauer
2026-10-01 7:11 ` [PATCH 2/2] FIT: do not cache uncompressed data Sascha Hauer
2026-10-06 6:41 ` 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=179126887359.540927.11131483808457193199.b4-ty@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.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