nina
nina
to show what kind of thing i currently have, e.g. ``` --- a/include/mimalloc/internal.h +++ b/include/mimalloc/internal.h @@ -14,6 +14,12 @@ terms of the MIT license. A copy of the license can...
I submitted my proof of concept integration: https://github.com/chimera-linux/cports/pull/2673
that is what i am doing, the single `static.c` build and then mark every function decl `static` outside of my few entrypoints; everything then becomes local symbols, and they get...
or rather, instead of using `static.c` directly, i have my own custom wrapper source for it: https://github.com/chimera-linux/cports/blob/58230387a299567022c6d89a42e636542816fb47/main/musl/files/mimalloc.c this lets me expose the glue cleanly as well as tweak some stuff...
i have landed this by the way; i think the declarations patching makes the bigger bulk of the changes, everything else is some minimal plumbing changes (some in the libc,...
the double free checking was pretty cheap in most things i tested (either benchmarks or real world things) so i left it at 4, however enabling padding made realloc-heavy things...
> * Maybe we should also expose a way to get `mi_heap_empty` .. on the other hand, maybe it is fine as it is since you really hook up at...
to provide more detail for the firefox thing, this is what triggers the failure: https://github.com/numactl/numactl/blob/master/libnuma.c#L435 it's strange because the mallocs/reallocs of that happen in the same function it's triggered from...
oh, you might actually be right - i was too preoccupied with "free() fails on stuff that was obviously reallocated in the same code block" that i did not consider...
fixed it: https://github.com/chimera-linux/cports/commit/9cc6ce34c9124660f691c9f37d391b20a6ae580f the correct value is `nodemask_sz`, not `nodemask_sz / 8`, which can be derived from the prototype of the function in the documentation