WIP: Retain original reserved boot backing #138

Draft
erikinkinen wants to merge 7 commits from feature/native-boot-source-reservations into feature/native-registered-allocation-backing
Owner

Publish reserved boot backing in the same native transaction that admits allocator free memory. Module sources, mapping subscriptions and framebuffer views retain their original reservation; copied descriptors and virtual addresses cannot create those roles. Failed preparation and withdrawal preserve the original source until cleanup succeeds.

Builds on the registered-allocation prerequisite; part of #11. See the boot reservation contract.

  • Bind boot-source roles to original reserved backing and allocator publication.
  • Retain source subscriptions through mapping, rendering and retryable retirement.
  • Pass all eleven original component gates, including optimized suites and warning-free native kernel/SMP builds.
  • Pass current-head public CI.
  • Complete coordinated native boot, private mapping and revocation acceptance on the release image.
Publish reserved boot backing in the same native transaction that admits allocator free memory. Module sources, mapping subscriptions and framebuffer views retain their original reservation; copied descriptors and virtual addresses cannot create those roles. Failed preparation and withdrawal preserve the original source until cleanup succeeds. Builds on the registered-allocation prerequisite; part of #11. See the [boot reservation contract](https://git.erikinkinen.fi/erix/kernel/src/branch/feature/native-boot-source-reservations/docs/boot-reserved-memory-custody.md). - [x] Bind boot-source roles to original reserved backing and allocator publication. - [x] Retain source subscriptions through mapping, rendering and retryable retirement. - [x] Pass all eleven original component gates, including optimized suites and warning-free native kernel/SMP builds. - [x] Pass current-head public CI. - [ ] Complete coordinated native boot, private mapping and revocation acceptance on the release image.
erikinkinen added this to the Alpha 1 milestone 2026-11-13 12:16:27 +01:00
Exclude live image and handoff sources from allocator seeding and retain their original consumer reservations through boot mappings, registration and retirement. Keep source grants tied to actual retained backing instead of descriptive footprint metadata.
Retain the complete native IPC and registered allocation implementations in the original boot-reservation foundation. Use one original owned allocation helper for retirement transport, preserving all source and withdrawal controls.
Carry the defining allocation-ownership documentation into the boot-source composition so root identity and numeric registration cannot be mistaken for backing custody.
Compile source snapshots and framebuffer rendering for the development console, retaining owned pixel and retirement controls in tests. Default builds keep their warning-free producer boundary.
fix: retain boot sources in diagnostic entry profiles
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / test (push) Successful in 7m22s
91ce4eb2bd
Keep the named original source owner alive when diagnostics omit both the development console and userspace bootstrap. Runtime bootstrap still consumes the same owner; no source is discarded to silence an unused binding.
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / test (push) Successful in 7m22s
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/native-boot-source-reservations:feature/native-boot-source-reservations'
git switch 'feature/native-boot-source-reservations'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/native-registered-allocation-backing'
git merge --no-ff 'feature/native-boot-source-reservations'
git switch 'feature/native-boot-source-reservations'
git rebase 'feature/native-registered-allocation-backing'
git switch 'feature/native-registered-allocation-backing'
git merge --ff-only 'feature/native-boot-source-reservations'
git switch 'feature/native-boot-source-reservations'
git rebase 'feature/native-registered-allocation-backing'
git switch 'feature/native-registered-allocation-backing'
git merge --no-ff 'feature/native-boot-source-reservations'
git switch 'feature/native-registered-allocation-backing'
git merge --squash 'feature/native-boot-source-reservations'
git switch 'feature/native-registered-allocation-backing'
git merge --ff-only 'feature/native-boot-source-reservations'
git switch 'feature/native-registered-allocation-backing'
git merge 'feature/native-boot-source-reservations'
git push origin 'feature/native-registered-allocation-backing'
Sign in to join this conversation.
No description provided.