[PATCH v3] malloc: fix large tcache code to check for exact size match

Wilco Dijkstra Wilco.Dijkstra@arm.com
Fri Oct 24 17:04:22 GMT 2025


Hi Dev,
 
> The tcache is used for allocation only if an exact match is found. In the
> large tcache code added in commit cbfd7988107b, we currently extract a
> chunk of size greater than or equal to the size we need, but don't check
> strict equality. This patch fixes that behaviour.

Looks good now - committed.

Cheers,
Wilco


More information about the Libc-alpha mailing list