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

+5 -2
View File
@@ -32,8 +32,11 @@ pub(crate) enum What {
Alias = 6,
/// A fault on block `a` that someone else had opened; b: nanoseconds.
Open = 7,
/// Blocks `[a, b)` were opened ahead of the title's writes.
Ahead = 8,
/// The instruction at `a` made the fault before (block `b`).
Site = 9,
/// A store (the instruction at `a`) was done beside the guard of block
/// `b`.
Stored = 10,
}
#[repr(C)]