RUNTIME_VERSION 1957 and the runtime-sources pin for an owed completion turn before submission handlers
The commit before this is ownpixel's fix of the Iris deallocator lane red under CompletionPolicy::Exact. - Cause: an empty command buffer taken with no submission owes its completion turn to the thread that took it. The scheduler made that turn at the end of `round`, after the round's submission handlers, and submit_at_commit did the same. So a handler in the same pass, waiting for that command buffer's completion, waited 60 s. - Fix: the owed turn is made before the thread runs or waits for a submission handler or check. That is the rule ofad451a5334: a handler holds back nothing the runtime took for another queue. Scheduling changes, which a stored runtime artifact can see. So RUNTIME_VERSION goes 1956 -> 1957 and the runtime-sources pin is recomputed: 1ef99693110ba5ecc473862e3a456b2906480a1ec5d8699a457184a5eacc8fba. Verified at the tip fcc20eec92 (on9619020361) by ownpixel: - lavapipe 11186 reproduced the red at the base 4/240 under load. - lavapipe 11229: the negative control fails at 60.07 s ("the empty command buffer's completed handler never reached the other queue's submission handler"); with the fix 5/5, runtime suite 1974/1974, stress 0/240. - M3 MoltenVK 11228: the new test 5/5, touched suites 68/68, deallocator 10/10. - lint 11227: clippy plain, m2v_gpu and m2v_cpu_icd clean; rustdoc clean. Still running: Iris 11226, the device where the red was seen. The cherry-pick ontodf79c0a7dfwas clean; this tree is not yet built.
This commit is contained in:
1 parent
4ef6cbad82
commit
b60bab13e4
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
||||
667a42b2147fda1812b456d20e37b897aee4eae3228ef69bfbe170a8e885000e
|
||||
1ef99693110ba5ecc473862e3a456b2906480a1ec5d8699a457184a5eacc8fba
|
||||
Vendored
+1
-1
@@ -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 = 1956;
|
||||
pub const RUNTIME_VERSION: u32 = 1957;
|
||||
|
||||
/// 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
|
||||
|
||||
Reference in new issue
Block a user