The title's writes into guarded blocks go in beside the guard: its memcpy, memmove and memset (VICTORY_COPY_BESIDE=1) and single stores that fault (VICTORY_STORE_BESIDE=1); both off

Most of what faults is the runtime's memcpy (a third by time) and single
stores into objects that lie in memory some copy covers: flags, reference
counts, links of free lists. The bytes are put in through our own view of the
page, the block told as written at every view by a bit that the next asking
takes: no protection changes, for the write or for the next taking.

Copies: the title's imports are ours and look at the blocks' bits. Stores:
the instruction that faulted is decoded and done in the handler. Too many to
a block, or code that fills blocks: opened as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-25 12:41:23 -06:00
1 parent 0578afffbb
commit 44c69a8fee
8 files changed
+1229 -16

No files matched your search

+6
View File
@@ -1203,6 +1203,12 @@ pub(crate) fn log(frames: f64) {
"guards over several views of a page, since the start: {together} blocks guarded with their other views, \
{written} views opened by a write through another, {mapped} ranges opened because a view of them was mapped"
);
let [copies, blocks, opened, stores, unknown, full] =
[0, 1, 2, 3, 4, 5].map(|n| crate::titlewrite::DONE[n].load(std::sync::atomic::Ordering::Relaxed));
tracing::info!(
"the title's writes beside the guards, since the start: {copies} copies (VICTORY_COPY_BESIDE=1), {blocks} blocks, {opened} opened; \
{stores} stores (VICTORY_STORE_BESIDE=1), {unknown} not understood, {full} blocks opened for too many"
);
// Where the wall clock of a frame goes: the phases of a frame, the
// processor time of the whole process, and what each submitting and
// recording thread did.