Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/371"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-03T00:52:46Z.
Summary
Fixes thin backing-list HostList/VRAM leakage and premature backing-list destruction when BACKS overflows:
eturn_idle_host(host: HostList)\ to reset unused/already-completed host command lists and return them to \IDLE\ (respecting \pools(), \idle_most(), and \IDLE_MOST.1\ byte caps).
eclaim_back\ /
ecycle_back\ so overflow backing \List\ shells (
efs == 0\ from \Box::into_raw) return any remaining \host\ and \earlier\ \HostList\s to \list::IDLE\ and drop cleanly via \Box::from_raw\ instead of underflow-bailing in \object::release_boxed.
eturn_back_is_idempotent_and_reclaim_back_handles_refs_zero.
.return_back()\ for unfolded
ecordings\ immediately after \jobs_of(queue as This, &lists)\ extracts their backing \HostList\s.
Verification
Refs #276, #282
Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-03T01:01:15Z.
Deep Static Audit Pass #5 (
#276comment7362570756) verifiedfix/thin-hostlist-leak(d2a0cee3) sound & race-free (Recording::return_back+Job::unfoldearly return + directBox::from_rawinreclaim_backreturning warmHostLists viareturn_idle_host, with unit testreturn_back_is_idempotent_and_reclaim_back_handles_refs_zero). CI47006889289is GREEN and has zero file overlap with#370(16d546b8). Merging tomain— oncemainCI finishes green on#370+#371(+#357),v2026.12.03.01will be ready to cut!