[PATCH v5 1/1] memalign: Support scanning for aligned chunks.

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Thu Apr 13 10:46:33 GMT 2023



On 12/04/23 22:57, DJ Delorie wrote:
> Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> writes:
>> Yes and with  malloc/tst-malloc-thread-fail-malloc-hugetlb1 as well. But 
>> the hugetlb1 and hugetlb2 just essentially enable hugepages with extra 
>> mprotect/madvise calls.  I don't think they play a role in this issue
>> (they won't affect any metadata setting, just the timings on the tests).
> 
> I still can't reproduce this; how much free memory is on that machine?

About 64GB:

$ free
               total        used        free      shared  buff/cache   available
Mem:        65760296     6847324    41000244       17540    17912728    58182972
Swap:        8388604           0     8388604

> Have you tested this particular setup without my patch?  I inspected all
> the tcache code changes and didn't find anything...
> 

I will check this patch, thanks.


More information about the Libc-alpha mailing list