Skip to content

vere: migrate to palloc#859

Merged
pkova merged 80 commits intojb/pallocfrom
jb/palloc-migrate
Sep 16, 2025
Merged

vere: migrate to palloc#859
pkova merged 80 commits intojb/pallocfrom
jb/palloc-migrate

Conversation

@joemfb
Copy link
Copy Markdown
Collaborator

@joemfb joemfb commented Aug 22, 2025

staging PR for accumulating and reviewing migrations, more to come.

joemfb and others added 30 commits June 2, 2025 09:41
joemfb and others added 26 commits August 22, 2025 16:22
Some stupid linux header was deprecated.
Based on the work in urbit/urbit#4675 with some
upgrades.

The structured exception handling code in the original is crazy. It was
originally done because libsigsegv installs a top level structured
exception handler which means that every time we fault we end up
unwinding a potentially very deep stack. We (and most likely libsigsegv
too) can instead install a [vectored exception handler
](https://learn.microsoft.com/en-us/windows/win32/debug/vectored-exception-handling)
that functions exactly as we want without unwinding the stack.

We still have cross-compilation from any of our supported targets to any
of our supported targets.

Current known limitations:

Demand paging does not work.

The spin hint does not work.

JSON tracing does not work.

The jump buffer in the road struct needs to be 16 byte aligned on
windows, we'll fix when merging @joemfb:s allocator work.

There are some strange padding zeroes at the end of south.bin breaking
checkpoint version negotiation, fix same as above.
@pkova pkova marked this pull request as ready for review September 16, 2025 11:39
@pkova pkova requested a review from a team as a code owner September 16, 2025 11:39
@pkova pkova merged commit 7be9409 into jb/palloc Sep 16, 2025
2 checks passed
@pkova pkova deleted the jb/palloc-migrate branch September 16, 2025 11:39
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.

3 participants