A spare command pool's give-back no longer frees and trims on the giving thread: the completion thread posts the command buffers past the pool's recent uses (and an idle spare's) with the pool to the device's free thread, which frees and trims them inside exit-guard sections and then keeps the pool among the spares again (62307392d4). reims measured the trim at 0.65 ms median and up to 3 ms on the 780M, on the completion thread before the completed handlers ran. Verified by the change's owner at its tree before the rebase (um790 job 12334): RADV PHOENIX runtime suite 2009/2009 and lavapipe 2012/2012 with clippy clean; the device test sees the frees on the free thread and fails with them on the giving thread; release, 780M, 32 rounds: status final to first completed handler 1508/1596 us -> 5.9/5.7 us at the median. MoltenVK (job 12333) not yet run. Here: the API table check, refusals and coverage generators unchanged, pin recomputed.
2 lines
65 B
Plaintext
2 lines
65 B
Plaintext
22309935a0ef9be30208453d1febdc91f253ac2b508583d4a88f06c74ec7b5b6
|