The commit before this one. The spares held 4097 command buffers against HELD = 4096 in a loaded
lavapipe runtime suite. CommandPool::past(keep) kept one secondary even where keep was 0, so a
pool given back while another pool trimmed to the bound was out with its frees waiting on a slow
free thread kept one past the bound. Spares::begin_ahead made a new primary in a pool holding none
with no bound check. Both now keep the bound: past() honours keep exactly, and a pool whose begin
ahead would make its primary goes out only where the spares and what is out stay within HELD. On
ANV below Xe-HP each spare command buffer holds a 64 KiB block of the binding-table pool, so the
bound is the product's.
Verified (potluck jobs, lavapipe, on the branch at 63a732359c): the forced interleaving test
a_pool_given_back_while_the_bound_is_out_freeing_keeps_none_past_it holds exactly 4096 before and
after a begin ahead; all 19 spares tests pass (m3-max-18938); full runtime suite 2228/2229 with all
spares tests passing (18945; the one failure was the exit_guard scan, fixed in 2e71b1818a).
Negative controls: the product as at the base fails the new test at 4097, 4098 after the begin
ahead (18990); with the first fix alone, 4097 after the begin ahead (18948). Lint (fmt, clippy
plain, m2v_gpu, m2v_cpu_icd, rustdoc): 18942.
Not run: GPU devices (ANV, RADV, NVIDIA, M3); release-mode timing (off the hot path).