Repository navigation
Conversation
Merging this PR will regress 4 benchmarks4 warnings, 1 note
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
a03d03f to
b0d3e4a
Compare
1f87c45 to
40f13e2
Compare
40f13e2 to
cd9ea47
Compare
b0d3e4a to
81e4221
Compare
## Problem A failed or resubmitted transfer can recycle pinned source memory before its previous DMA completes. ## Solution Check contexts, wait on the previous source fence, and establish completion before recycling buffers. ## Assessment If completion cannot be established, retain the allocation rather than risk freeing active DMA memory. Based on #10726; prerequisite for #10713. Signed-off-by: Alexander Droste <alexander.droste@protonmail.com>
Use each pinned buffer owner event for inflight reclamation instead of allocating another completion event per transfer. Preserve the source-retention and failure-recovery guarantees of the parent change. Original-commit: ff5e49b1f0 Signed-off-by: Alexander Droste <alexander.droste@protonmail.com>
81e4221 to
8acd798
Compare
Problem
Pinned-buffer reclamation allocates an extra completion event for each transfer.
Solution
Reuse the buffer owner's event to track inflight transfers.
Assessment
Preserves the source-retention guarantees and event flags from #10712, which must merge first.