Re: [PATCH] Avoiding mmap fragmentation (against 2.6.12-rc4) to

Ingo Molnar
2005-05-12T07:14:01Z

* Wolfgang Wander <wwc@rentec.com> wrote:

> Now - drumroll ;-) the appended patch works fine with leakme: it ends
> with only 7 distinct areas in /proc/self/maps and also thread creation
> seems sufficiently fast with 0.71s for 20000 threads.

great! Looks good to me. The whole allocator is a bit of a patchwork,
but we knew that: the optimizations are heuristics so there will always
be workloads where the linear search could trigger. (If someone replaces
the whole thing with some smart size and address indexed tree structure
it may work better, but i'm not holding my breath.)

This needs tons of testing though.

Ingo