mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-15 19:19:58 -04:00
The review found that memory.c mem_lazy_skip's loop over the ranges armed for another buffer waited for a free entry in the flight table before it looked for one. On its last pass, which finds nothing left to take, the replay could still wait for another thread's fetch to end when the table was full. Now it looks first, and waits for room only when it has a range to take and every entry is in use, then looks again. The search is lazy_foreign_locked, shared with the check before the loop. Not reproduced before the change; lazy_fetch_check passed in all its scenarios (foreign and flood among them). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
113 KiB
113 KiB