http://bugs.winehq.org/show_bug.cgi?id=30839
--- Comment #15 from Dmitry Timoshkov dmitry@baikal.ru 2012-06-22 08:29:52 CDT --- (In reply to comment #14)
This patch keeps a buffer in a bucked for smaller buffers if accurate bucked is full. This was we keep it alive for longer time, but at cost of wasted memory. We already do similar trick when we look for a buffer in cache (if we don't have matching buffer, we try to use a bit bigger one). If we keep extending the cache implementation this way, we risk a serious waste of memory, which I'd much rather avoid in such a common memory allocator. So, with this patch, the semantic is preserved, but it needs more thoughts.
I played a bit with the affected application + the patch, and looked for memory consumption: I didn't notice any visible change in memory usage statistics in comparison with one without the patch.