|
|
|
|
|
by Conscat
4 days ago
|
|
Musl does lock on alloc and free paths, yes. It is not a lockless allocator. It doesn't claim to be the very fastest allocator, but it is a reasonably fast modern (slab) allocator with relatively aggressive security mitigations. I assume the lock makes it easier to guarantee these mitigations. |
|
BTW mimalloc (a lockless allocator) has a secure mode, not sure how it compares to musl's mitigations.