Repository navigation
Conversation
The readiness check and worker-count increment were separate, allowing concurrent wanted jobs to claim the same remaining slot. Reserve with compare-exchange and recheck readiness after contention, retaining the idle-worker progress rule and existing timeout policy. A barrier-driven Windows regression admitted four contenders into one remaining slot, raising the count from five to nine against a limit of six. Afterward all 16 DXC tests passed, 0 failed/ignored, 714 filtered out, no skips; DXC 1.9.2602.17 (21d28f72). Windows 11 ARM64 UTM with x86_64 MSVC, based on upstream 930e8b4. Full suite and real-title smoke not run. Assisted-by: omp (openai-codex/gpt-6-astra)
This was referenced Nov 24, 2026
Contributor
|
Verification on RTX 3060 Ti (Windows 11): merge conflict with current |
|
Native x64 Windows validation of exact head Tested
Regression run Not tested
AI use
|
Collaborator
|
Two contributors checked independently and found that #2652 solves the same problem (for #2463) in a different way: #1607, group D126. You may want to compare them with the other author and agree on one, or say in the PR why both are needed. This is a hint from the community triage in #1607, not a maintainer decision. AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table. |
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I fixed a check-then-increment race in DXC memory admission. Several workers could all see the same remaining slot and increment WORKING afterward, exceeding the wanted-work limit under memory pressure.
What is in it
Tested
I ran the checks in a Windows 11 Pro ARM64 UTM VM (10.0.26100.1742, 4 GiB RAM, Red Hat VirtIO GPU DOD 22.7.38.43), with Rust 1.100.0 and x86_64-pc-windows-msvc. The DXC tests loaded DXC/DXIL 1.9.2602.17, compiler commit
21d28f72, from Windows SDK10.0.26100.0.cargo test --locked -p xcl --lib gpu::recomp::dxc::memory_tests -- --test-threads=4: 0 passed, 1 failed, 0 ignored, 728 filtered out. Four contenders claimed one remaining slot, increasing the count from five to nine against a limit of six.cargo test --locked -p xcl --lib gpu::recomp::dxc:: -- --test-threads=4: 16 passed, 0 failed, 0 ignored, 714 filtered out. NoSKIPPEDoutput.Source: main
930e8b49c1c2ec683d22c724a398b39111cd0e56archive with the changed dxc.rs copied in before committing9a3230fa20276918548a30a25237ff002a78f390; not a clean head checkout. Shared target directory cleaned for xcl before reproduction; one build job; dev/test debug info disabled.Not tested
Full workspace suite, native x64 Windows hardware, GPU execution, real-title loading and actual low-memory stress. The concurrency regression uses an isolated admission counter, not forced system-memory exhaustion. I make no game-performance or peak-memory claim. XCL was not built or run on macOS.
Regression run
The required clean main/head real-title
scripts/smoke.ps1runs have not been performed. Noxcl-smokeblocks are available; this remains a draft.AI use
omp, openai-codex/gpt-6-astra: investigated, wrote the fix and regression tests, ran the Windows checks, and prepared this PR.