top | item 46769985 (no title) Splizard | 1 month ago You have to tell musl to use mmap instead of brk. You're right that it doesn't work in all cases but as long as you switch TLS on calls (and callbacks), at least with a project the size of Godot, you can approach a workable solution. discuss order hn newest leni536|1 month ago > You have to tell musl to use mmap instead of brk.How do I do that? Is there a documented configuration of musl's allocator? Splizard|1 month ago you can patch musl, to initialize the brk state as -1 and then it won't use it.
leni536|1 month ago > You have to tell musl to use mmap instead of brk.How do I do that? Is there a documented configuration of musl's allocator? Splizard|1 month ago you can patch musl, to initialize the brk state as -1 and then it won't use it.
leni536|1 month ago
How do I do that? Is there a documented configuration of musl's allocator?
Splizard|1 month ago