llvm-project
a1a610a1 - [libc] Increase the number of times we wait on a slab

Commit
63 days ago
[libc] Increase the number of times we wait on a slab Summary: This wait restricts how long we wait on a slab. The only reason this isn't an infinite loop is to prevent complete deadlocks. However, this limit was *just* on the cusp of waiting long enough for the allocation to be done. Just increase this to a sufficiently large value, because this limit only exists to keep the interface wait-free in the absolute worst case scheduling scenario. This *MASSIVELY* improved performance for mixed allocations as we no longer shuffled around creating more than necessary.
Author
Committer
Parents
Loading