Repository navigation
fix(agc): release retired imports while waiting for pins - #2864
Conversation
|
The run you asked for, on a Linux host where the write-watch path is active (the test runs, it is not skipped): the fix removes the pin wait on an NVIDIA and on an AMD device. Setup: PR head b2a8590 merged onto "Without the fix" is the same merge with
The failures are the reported stop, with the test's 3 s wait taken twice:
Full run (
So with the fix the full run gets past the unit shadow step, corrected expectations included, and stops at the Not run: the rest of the suite with this PR, and any title. AI-assisted: yes |
|
Third device data point for the new regression test, since the description says it skipped on the author's host. Setup: PR head b2a8590 as submitted (not merged onto current
Not checked: that AI-assisted: yes. Runs and this report were produced with AI assistance; I take responsibility for the content. |
|
Rebased onto current Checked |
b2a8590 to
f5618d9
Compare
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
|
What
Break the guest allocation pin wait cycle when import retirement runs under
GpuMutex. After synchronizing, hand off deferred recorder keeps so the retired import can release its allocation range before the waiter returns. Add a focused unit shadow CTest and correct its expectations for bytes published while the old full registration is still visible.Fixes #2833.
Tested
Linux x86_64, GCC 12.2, Release: built
agc_driver_recorder_tests.agc_unit_shadowwas registered and correctly skipped because this host does not support the required asynchronous userfaultfd write watch. The test uses a 3 second pin wait and a 30 second CTest timeout.git diff --checkandpython3 tools/check_conventions.py --base upstream/mainpassed.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Additional hardware validation (2026-10-10)
On Arch Linux with GCC 16.2.1, Release, and
ANYPS5_REQUIRE_VULKAN=1, fma-rc ran the focusedagc_unit_shadowregression on an NVIDIA RTX 5080 and AMD Radeon 610M (RADV): with this fix it passed 3/3 on each GPU; with the waiter hand-off removed it failed 3/3 after the two 3-second pin waits. The focused host-import and recorder tests also passed on both GPUs.The full
agc_driver_recorder_testsexecutable passes the repaired unit-shadow step but still stops at the unrelated(s) results pending when their memory left the watch did not reach itassertion. That assertion also fails on the parent before the pin-wait change. The full executable is not green yet. Full setup and results.