On Tue, Aug 02, 2016 at 18:27:44 +0100, Alex Bennée wrote: > Under times of high memory stress the additional small mallocs by a > linked list are source of potential memory fragmentation. As we have > worked hard to avoid mallocs elsewhere when queuing work we might as > well do the same for the list. We convert the lists to a auto-resizeing > GArray which will re-size in steps of powers of 2.
Would be nice to see numbers on how this compares to simply using tcmalloc/jemalloc (or the glibc allocator, really). Thanks, Emilio