generated from erix/meta
WIP: Share allocation within caller-owned memory regions #2
No reviewers
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/lib-owned-region!2
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/posix-compat"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary and rationale
Share allocation within caller-supplied memory and resize live allocations in
place when adjacent space permits. Shrinking returns the tail to the same free
list; moving first obtains replacement storage and preserves the payload prefix.
Tracking and scope
Implements the shared allocator
and resizing for
native build tools.
Includes the primitive, serialized GlobalAlloc adapter, regression controls,
documentation and CI. Consumer rebuilds and image acceptance remain open.
Architecture, authority and failure behavior
The caller supplies one writable region and retains its backing through every
allocation. Resizing acquires no mapping, service or replacement arena. The exact
live pointer and layout remain unsafe caller obligations. Refused growth leaves
the allocation intact; a drained count does not retire the underlying mapping.
Review checklist
494312f3The technical manual now documents caller-owned backing, serialized allocation, exact release obligations and native retirement limits. Docs #4 includes the chapter and the generated reference for all 14 public routes at
3568441c. Integration’s catalogs select this source and its manual. Native allocator registration and the Kernel probe remain open.Replaced by #5, #6. These feature branches preserve the original source in separate changes. Closing this combined PR without merging it; the original branch is retained.
Pull request closed