From 6caad73bde5ddd8bd373f4a26559f3cd13d79ea7 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 9 Nov 2026 09:45:22 -0800 Subject: [PATCH] RUNTIME_VERSION 1978 and the runtime-sources pin for exportable pools' blocks made ahead 5a862c6ab9 changes the runtime's memory: a pool of exportable buffers (Exports, DmaBufs) that grew gets its next block made ahead on the ready thread, and a creation call that places such a buffer takes it instead of making a 64 MiB block on the program's thread. A reported guest stall on a Radeon 780M with fragmented memory (inline makings 31-97 ms) was that path. Verified by the branch (RADV PHOENIX, gem10): release bench, slowest creation call 12.0-15.0 ms at the base vs 0.3 ms at most at the tip under fragmentation; blocks_ahead's new test 6 of 6 made ahead, 0 of 6 with development's memory.rs (780M 12111, lavapipe 12112); runtime lib under m2v_gpu 1997/1997 (12109). Here: signatures --check, REFUSALS, coverage docs regenerated (no change), fmt. --- 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 08674af39..b58864287 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -7caa30be6d019d2a61b776aeed1cf4670ee98324525538edf1f60194cf3b166c +247fbb0bdd2a40fc4ece0b27e9de16e0264e6e88c5ba5b20d8f0013afd885c5d diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index f821e3e8c..d14f1443f 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 = 1977; +pub const RUNTIME_VERSION: u32 = 1978; /// 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