[PATCH] malloc: Improve malloc initialization
DJ Delorie
dj@redhat.com
Mon Mar 24 23:50:52 GMT 2025
Wilco Dijkstra <Wilco.Dijkstra@arm.com> writes:
> Move malloc initialization out of hot paths - it is only required after checking
> fastbins in _int_malloc or before tcache initialization. Bench-malloc-thread
> improves by 1.8% for 1 thread and 1.3% for 32 threads on Neoverse V2.
ptmalloc_init sets up the tunables needed to properly manage tcache and
fastbins...
More information about the Libc-alpha
mailing list