memtest performance improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | memtest: don't volatile-qualify local variablescmd/ | +3 | 0 replies | |
| 2/3 | memtest: only call schedule() once for every 256 wordscmd/ | +8 | 0 replies | |
| 3/3 | memtest: remove use of vu_long typedef in mem_test_altcmd/ | +10 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Anshul Dalal |
|---|---|
| Series | T-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] memtest performance improvements
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.
Rasmus Villemoes (3):
memtest: don't volatile-qualify local variables
memtest: only call schedule() once for every 256 words
memtest: remove use of vu_long typedef in mem_test_alt
cmd/mem.c | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-)
Signature · 1 line
2.50.1