Repository navigation
Conversation
bmjask
force-pushed
the
stack/045-dxc-slot-admission
branch
from
November 27, 2026 00:46
6d88dd4 to
77bf05a
Compare
wait_for_memory previously checked WORKING against commit headroom and WANTED_AT_ONCE with an unlocked load before calling fetch_add(1), allowing concurrent worker wakeups to admit an unbounded burst past both limits. Wrap the admission check and working-slot increment in a MemoryGate mutex while keeping MemorySlot::drop lock-free and sleeping outside the mutex, and add multi-threaded unit tests verifying tight-headroom, WANTED_AT_ONCE, low-commit single-slot, and timeout behavior. Part of xcl-dev#2463 Part of xcl-dev#1566 Part of xcl-dev#1269 Assisted-by: Antigravity (Gemini 4 Hydrogen) Assisted-by: Codex (GPT-5.6-sol)
bmjask
force-pushed
the
stack/044-zero-mip-staging
branch
from
November 27, 2026 05:14
59ced67 to
dc76696
Compare
bmjask
force-pushed
the
stack/045-dxc-slot-admission
branch
from
November 27, 2026 05:14
77bf05a to
d4fcacd
Compare
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.
Stacked on #47.
This is an internal draft stack in
bmjask/xcl; it is not an upstream merge request.What and why
This unit isolates recompiler: serialize dxc::wait_for_memory slot admission as one reviewable step in the redesign.
What is in it
6d88dd42is the cleaned-stack form of integrated commit9cc635e7.The patch content is preserved; only ancestry changed to omit a canceled add/revert sequence.
Tested
Tests were not rerun while packaging this already-integrated change into the draft stack.
Regression run
Not run during stack packaging.
Not tested
scripts/smoke.ps1main/head comparisonAI use
Codex, GPT-5.6-sol, removed canceled ancestry, created the stack branch, and drafted this description. It did not author new code during stack packaging.