[PATCH] malloc: Inline tcache_try_malloc

DJ Delorie dj@redhat.com
Wed Apr 30 21:01:48 GMT 2025


Wilco Dijkstra <Wilco.Dijkstra@arm.com> writes:
> Inline tcache_try_malloc into calloc since it is the only caller.  Also fix usize2tidx
> and use it in __libc_malloc, __libc_calloc and _mid_memalign.  The result is simpler,
> cleaner code.
>
> Passes regress, OK for commit?

LGTM
Reviewed-by: DJ Delorie <dj@redhat.com>



More information about the Libc-alpha mailing list