[PATCH v4 3/7] malloc: replace _int_free by _int_free_chunk in sysmalloc.

DJ Delorie dj@redhat.com
Fri Mar 14 23:49:23 GMT 2025


Cupertino Miranda <cupertino.miranda@oracle.com> writes:
> sysmalloc calls to _int_free should not allow the freed chunks to be
> taken by tcache. These internal calls to free do not reflect any of the
> needs of the application, but rather chunk management.

The idea hwere is to pre-load tcache if/when we happen across chunks the
right size.  Are you saying here that only saving chunks the application
free's is overall faster than pre-loading the cache?



More information about the Libc-alpha mailing list