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

Dev Jain dev.jain@arm.com
Mon Oct 6 04:53:30 GMT 2025


On 03/10/25 3:17 pm, Cupertino Miranda wrote:
> Hi Dev,
>
> Thank you for your patch and good finding.
> I am actually finding some bugs locally that might be related to this.
>
> Dev: Do you have a clear idea how to test this? Can you make a test?
>
>

I think the bench-malloc-tcache test should be sufficient. If we 
allocate and

deallocate a large chunk, that should be to and from the large tcache.



More information about the Libc-alpha mailing list