Skip to content

Stack compression hook - #733

Draft
linxuanm wants to merge 10 commits into
titzer:masterfrom
linxuanm:stack-segments
Draft

linxuanm wants to merge 10 commits into
titzer:masterfrom
linxuanm:stack-segments

Conversation

@linxuanm

Copy link
Copy Markdown
Contributor

No description provided.

@titzer

titzer commented Oct 30, 2026

Copy link
Copy Markdown
Owner

You'll have to push again because I fixed the underlying spectest failures

Unowned segments now sit on their own free list in the manager, so a
segment that is mapped, reclaimed by a sweep, or freed by compression
is no longer wrapped in a throwaway NativeStack, and decompression no
longer pops and discards one. Acquiring and attaching a segment is a
single call, which removes the requirement that a detached segment be
attached before the next refill. The cache keeps its meaning as the
list of finished stacks pushed by the return-parent stub.
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