Skip to content

Allocate JIT code via named anonymous mmap - #52

Merged
sgt0 merged 1 commit into
Jaded-Encoding-Thaumaturgy:masterfrom
sgt0:expr-jit-named-map
Aug 21, 2026
Merged

Allocate JIT code via named anonymous mmap#52
sgt0 merged 1 commit into
Jaded-Encoding-Thaumaturgy:masterfrom
sgt0:expr-jit-named-map

Conversation

@sgt0

@sgt0 sgt0 commented Aug 12, 2026

Copy link
Copy Markdown
Member

Closes #38

@xurich-xulaco

xurich-xulaco commented Aug 15, 2026

Copy link
Copy Markdown

Seems roughly the same solution as https://github.com/vapoursynth/vapoursynth/blob/acabf605b2205b32d65859bb2736405719d2fafd/src/core/expr/jitcompiler_x86.cpp#L986
So, there shouldn't be any big deal about it AFAIK (Kudos to Justin Arthur for commenting on it in discord)

@sgt0
sgt0 merged commit 9dc2c98 into Jaded-Encoding-Thaumaturgy:master Aug 21, 2026
12 checks passed
@sgt0
sgt0 deleted the expr-jit-named-map branch August 21, 2026 22:43
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.

LLVM JIT code is allocated on the brk heap and mprotect(PROT_EXEC) fails with EACCES on Linux

2 participants