Bump RUNTIME_VERSION to 1884: a device's teardown racing the exit leaves the device to the process's end
holds-exit: a device whose last reference drops on a handler thread while the program exits was torn
down in full under the exit hook, and vkDestroyDevice (the validation layer, then NVIDIA) took 0.3-2.6 s
on the 5080, past the hook's 2 s bound (round 9bd38c7994 lane 10, handler_learns_exit 2.08 s). The
teardown now checks the guard before its wait for idle, its pipeline caches and memory, and
vkDestroyDevice, and once the exit has closed it leaves the rest to the process's end; with no exit
racing it nothing changes. Past half its bound the hook now names where the sections it waits for
began. Verified by holds on the 5080 (holds-exit-3, 60 runs each): exit median/p90/max 478/932/1130 ->
206/411/590 ms, exits of 500 ms or more 29 -> 1, hook wait 0.17-1.03 s -> 1-7.5 ms; tests::exit_guard
46/46 on gem10 (8041).
This commit is contained in:
1 parent
df2d326289
commit
43c7dd3adf
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
||||
b8a6868323229e63ad3c11de89960052b98381253a8e40c082379dbd31cb2aeb
|
||||
1da0dc2fdfba7d9e94989ecc98149534e79f8f63f87dbceb05c4bcae1c14b5c9
|
||||
Vendored
+1
-1
@@ -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 = 1883;
|
||||
pub const RUNTIME_VERSION: u32 = 1884;
|
||||
|
||||
/// 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