[PATCH 0/3] memtest performance improvements

Tom Rini trini at konsulko.com
Wed Sep 3 00:57:34 CEST 2025


On Fri, 22 Aug 2025 20:18:45 +0200, Rasmus Villemoes wrote:

> The first two patches make memtest run ~40x faster (when, as it should
> be, dcache is disabled), with the second patch being responsible for
> most of that. At least on the beagleboneblack which I used for
> testing; other boards and configurations will likely see different
> numbers.
> 
> This is for CONFIG_SYS_ALT_MEMTEST=y and
> CONFIG_SYS_ALT_MEMTEST_BITFLIP=n; one could probably get a similar
> improvement in the bitflip case since that also has a schedule() call
> in the inner loop.
> 
> [...]

Applied to u-boot/next, thanks!

[1/3] memtest: don't volatile-qualify local variables
      commit: 86c5c25b6ca99025ac8ebcbe5c53ea0f398d1f44
[2/3] memtest: only call schedule() once for every 256 words
      commit: 835915bb7d2b76d7e422b6d60628a0f7cef30ddb
[3/3] memtest: remove use of vu_long typedef in mem_test_alt
      commit: 42529beba5a262992b53893477e0de646c1754b6
-- 
Tom




More information about the U-Boot mailing list