- Move title_memory_map::changed() into TitleHeap::hooks.commit/decommit and !from_mirror_heap in free_title_block()
- Share Cell::known_* across CellGuard & TitleTextureCells (no PAGE_READONLY no-guard cache; MEM_RESERVE intra-pass in TitleTextureCells, cross-pass in CellGuard; seed on xmem::map_view)
- Persist TitleTextureCells VQ cache across outer batches; bridge across run_already_armed_ tiles with uniform restore[0..15] up to kMaxBridgeGap=64
- Persist 1024-entry local_mirror per ConsoleHeap*, flush Phase A/B disjointly, handle !base V#s in Phase A, skip redundant WC BAR writes for waiting T#s
- Fused SEH-safe AVX2/SSE2 guarded::copy_and_sum_256(), kMaxWorkers=8, single-reader title_write_watch::ask() fast path preserving mark() entries
AI-assisted: Antigravity (Gemini 4 Neon).
Two trackers guarded the same 64 KiB pages through the same cells: the page mirror's HotColdTracking and the
title texture watch. When the mirror found a page hot it reopened the cell behind the other's back; the texture
watch then armed it again, so the page faulted at every write for one tracker while the other meant it to be
writable (two guards racing on one page), and when the mirror turned a hot page cold for a probe, a write made
while it was hot reached no other tracker at all (the video plane's write of that interval was never uploaded).
One owner of the guard now: the cell. An owner that leaves a page writable holds it hot (geometry_writes::
set_hot); a hot cell is not armed by anyone and hot_tiles() lists it, so the texture watch takes it as written
at every pass; when the last owner lets go, the cell counts as written once more for every subscriber.
HotColdTracking holds its hot pages that way and ignores its own hot-to-cold turn (a cell that has not moved
since it was armed was not written).
Also: the FSDRAW census reset the refresh line's passes, changed and filled counters, which then read 0 uploads.
Test: title_mirror_hot_cold now runs the texture watch over the same cells as the mirror's tracking: the plane
written every interval is named at every interval, probes included, and its page stops faulting once hot.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
HotColdTracking (src/title_mirror_hot_cold.h) implements TitleMirrorTracking (watch, unwatch, collect) over the
geometry watch's cells with TitleWritePolicy, so it can replace GuardTracking with no change in the mirror:
collect() returns the pages written since the last collect, each armed again first, and every time the pages
written so often that they are left writable. One collect is one interval of the policy's history.
A hot page's probe is now armed at the collect after it is asked for and judged on the interval after that;
judged on the interval of the arming itself, a page written every interval looked quiet and was turned cold
(seven promotions and six demotions of one page in 200 intervals). Test title_mirror_hot_cold (Windows, real
guards and a handler that does what the layer's does first): the page written every interval stops faulting
(12 faults in 200 intervals, the warm-up and the probes), the page written every 10th faults 19 times, and the
copy the collects name equals the memory after every collect.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>