Bump RUNTIME_VERSION to 1856: what a passing hold gives back is free for the next making

A passing hold now lets go of the handles it took as plain drops inside the hold, so a released
buffer's pin, its pool slot and an automatic heap's range come back there, and every making that
takes such a range (Metal-space picks, pins, pool slots, Heap::allocate) waits for passing holds
first. Before, a new buffer pinned at a released buffer's address, its pool slot or an automatic
heap's range was refused PlacementConflict::Held (or OutOfMemory(Heap)) while another thread's
passing hold still had the old object; Metal makes it. The program's own release code in such a
going runs once the outermost hold ends. Re-pinned.

Verified by holds: 3 new tests (pin, pool slot, automatic-heap range); lavapipe 80/80 with clippy
clean (m3-max-6700), M3 under m2v_gpu 78/78 (6707); negative control on lavapipe, makings not
waiting: the pin and slot tests fail PlacementConflict::Held, the heap test OutOfMemory(Heap)
(6737). Pending: the M3 negative control (6756) and the whole lavapipe runtime suite (6747).
This commit is contained in:
Anees Iqbal committed 2026-11-07 20:30:05 -08:00
1 parent 964dc71828
commit d4fbe59a98
2 files changed
+2 -2

No files matched your search

@@ -1 +1 @@
310d1aee5be9a4320329f76d1cb503b060df795ed72b76828a07c4d65909c5c3
73b068fb6bb26906d66dfa69c8ee06f4c7c64598cec4c4b328af334c2a2ea92c
+1 -1
View File
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 493;
/// changes no behaviour, and then updates that hash alone with the commit saying why, or changes
/// behaviour and also bumps this version. The commit that bumps it says what changed; this comment
/// keeps no history.
pub const RUNTIME_VERSION: u32 = 1855;
pub const RUNTIME_VERSION: u32 = 1856;
/// The digest of the sources this build of the crate was compiled from: SHA-256, as lowercase hex,
/// of the manifest, the build script, and exactly the files the crate roots' module tree compiles