Skip to content

memory: streamline mmap and page lifecycle - #289

Merged
hodgesds merged 1 commit into
mainfrom
perf/stress-ng-gap-16
Sep 8, 2026
Merged

memory: streamline mmap and page lifecycle#289
hodgesds merged 1 commit into
mainfrom
perf/stress-ng-gap-16

Conversation

@hodgesds

@hodgesds hodgesds commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Reduce repeated fault and teardown overhead with indexed VMA/rmap lookups, inline reverse-map ownership, lock-free per-node free counts, unique-owner batch release, and fresh x86 demand-leaf publication without a redundant invalidation.

Keep the fast paths Linux-compatible by implementing MAP_POPULATE and MAP_NONBLOCK semantics, making MAP_FIXED_NOREPLACE race-safe, coalescing eligible fixed private-anonymous VMAs, and retaining authoritative slow paths once NUMA or cpuset policy is installed.

Update subsystem contracts, coverage, and the TCB safety argument.

Model: OpenAI Codex (GPT-5)

Reduce repeated fault and teardown overhead with indexed VMA/rmap lookups, inline reverse-map ownership, lock-free per-node free counts, unique-owner batch release, and fresh x86 demand-leaf publication without a redundant invalidation.

Keep the fast paths Linux-compatible by implementing MAP_POPULATE and MAP_NONBLOCK semantics, making MAP_FIXED_NOREPLACE race-safe, coalescing eligible fixed private-anonymous VMAs, and retaining authoritative slow paths once NUMA or cpuset policy is installed.

Update subsystem contracts, coverage, and the TCB safety argument.

Model: OpenAI Codex (GPT-5)

Co-Authored-By: OpenAI Codex <noreply@openai.com>
@hodgesds
hodgesds merged commit b3137a4 into main Sep 8, 2026
5 checks passed
@hodgesds
hodgesds deleted the perf/stress-ng-gap-16 branch September 8, 2026 18:44
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.

1 participant