From 206fbfba1caec794f515c60cb6edeb0a718808a9 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 9 Nov 2026 13:38:42 -0800 Subject: [PATCH] RUNTIME_VERSION 1987 and the runtime-sources pin for blocks made ahead near a pool's next block A pool's first growth (and its first after a pause) was always made in place by keep_room on the calling thread, because blocks were made ahead only for a pool that grew recently; reims's 780M scroll made exactly one such block a scroll on the guest's decode thread under 15-56 ms of compaction. Now a pool near its next block (a pooled block held, its longest free range under three quarters of a block) gets that block made ahead, exportable pools too (35c4231506). Verified by the change's owner (um790 jobs 12337, 12354): the growing-pool test sees the first growth made ahead on RADV PHOENIX and lavapipe and fails at development's memory files; runtime suite 2011/2011 (780M) and 2014/2014 (lavapipe); clippy and rustdoc clean; release scroll arm, 3 runs per build: 7 ahead + 1 in place -> 8 ahead + 0 in place every phase. M3 cost check (12346) not yet run: pooled_memory_blocks_made may rise where a pool rests between half and three quarters full. Here: API table check and generators unchanged, pin recomputed. --- crates/metal2vulkan-validation/runtime-sources.sha256 | 2 +- crates/metal2vulkan/src/cache/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/metal2vulkan-validation/runtime-sources.sha256 b/crates/metal2vulkan-validation/runtime-sources.sha256 index 0c629d4f3..61555a20e 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -22309935a0ef9be30208453d1febdc91f253ac2b508583d4a88f06c74ec7b5b6 +7ed2740ad3e62735cef5addc343f79347bc3b2e45663f64b2c692f2d08e521eb diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index dade4e345..e27e43a1b 100644 --- a/crates/metal2vulkan/src/cache/mod.rs +++ b/crates/metal2vulkan/src/cache/mod.rs @@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 497; /// 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 = 1986; +pub const RUNTIME_VERSION: u32 = 1987; /// 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