Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

julia_gc: compensate for Julia guard pages #5737

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

fingolfin
Copy link
Member

This avoids triggering Julia's safe_restore mechanism completely in my local tests, i.e., avoids causing a segfault by scanning right into the guard pages set up by Julia.

Note that this is unrelated to the recently removed SKIP_GUARD_PAGES feature which was about adjusting for pthread guard pages, which in practice turns out to be irrelevant for our purposes.

I'd like to backport this to stable-4.13 ASAP and then release 4.13.1

This avoids triggering Julia's `safe_restore` mechanism
completely in my local tests, i.e., avoids causing a segfault
by scanning right into the guard pages set up by Julia.

Note that this is unrelated to the recently removed
`SKIP_GUARD_PAGES` feature which was about adjusting for
pthread guard pages, which in practice turns out to be
irrelevant for our purposes.
@fingolfin fingolfin merged commit b099afe into master Jun 10, 2024
40 checks passed
@fingolfin fingolfin deleted the mh/julia_gc_guard-pages-again branch June 10, 2024 06:42
@fingolfin fingolfin added backport-to-4.13-DONE release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes and removed backport-to-4.13 labels Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-4.13-DONE release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: julia Julia GC integration and related matters topic: kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant