Skip to content

u3: moves home road to loom start, simplifies snapshot system#826

Merged
pkova merged 9 commits into
jb/pallocfrom
jb/palloc-north
May 23, 2025
Merged

u3: moves home road to loom start, simplifies snapshot system#826
pkova merged 9 commits into
jb/pallocfrom
jb/palloc-north

Conversation

@joemfb

@joemfb joemfb commented May 22, 2025

Copy link
Copy Markdown
Collaborator

This PR is based on and targets #812. It also includes a copy of #825, as that fix is necessary for the relocated home road to not interfere with inner-road promotion. It implements "option 2" from #451 (comment).

Moving the home road makes sense given #812, as it requires that the entire first page be reserved from the heap. Once the road home is moved, there's no reason for the snapshot to consist of two separage memory-image segments, as only the bottom of the loom needs to be preserved. This simplifies the snapshot system by removing much of the complicated, direction-switching redundancy in its implementation, and simplifies the handling of snapshots themselves as they are now a single file.

Since these changes require a snapshot-system migration, I've taken the opportunity to add and verify a top-level checksum for all snapshot patch metadata.

@joemfb joemfb requested a review from a team as a code owner May 22, 2025 14:58
@pkova pkova merged commit 0ba6dd3 into jb/palloc May 23, 2025
2 checks passed
@pkova pkova deleted the jb/palloc-north branch May 23, 2025 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants