Re: [PATCH 0/3] dma-debug: skip irrelevant buckets for partial syncs

From: Marek Szyprowski

Date: Thu Dec 03 2026 - 07:18:11 EST


On 10.11.2026 22:36, Juanlu Herrero wrote:
> Make the ZCRX area size configurable, skip DMA debug buckets that cannot
> contain a partial sync, and add KUnit coverage for bucket bounds.
>
> Earlier Fastio ZCRX registration means with DMA debug enabled:
>
> driver pages before after time saved
> mlx5 65536 4.720 s 0.942 s 3.778 s
> bnxt_en 131072 10.658 s 0.556 s 10.102 s
>
> These runs used an earlier patch revision and workload. Later
> SG-controlled CX7 runs showed no overall registration gain.
>
> Validation: KUnit with KASAN/lockdep, W=1 build and checkpatch passed.
>
> Codex assisted with implementation, review and validation.
>
> Signed-off-by: Juanlu Herrero <juanlu@xxxxxxxxxxxx>


It took me a while to understand this optimization and indeed it looks
correct. I would like to take the whole patchset to dma-mapping-for-next.
Any objections about taking also the first patch via my tree?

Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland