eina: minimize fragmentation of chainned mempool.
authorSubodh Kumar <s7158.kumar@samsung.com>
Fri, 6 Mar 2015 14:48:38 +0000 (15:48 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 6 Mar 2015 19:19:20 +0000 (20:19 +0100)
commit554b2cd9da44b55e598f32db94cf98ac43da58a0
treec07845831f0e25288a999151d6673240e5d659f1
parent0bd2fc15e9c61adbbe794bdf5bd5639abf20ac6d
eina: minimize fragmentation of chainned mempool.

Summary:
Previously: Each allocation happened in the first chain after any free.
Now: All allocation will happen in one chain until all buckets are full, this can reduce
fragmentation to some extent.

Reviewers: seoz, govi, shilpasingh, raster, cedric

Reviewed By: cedric

Subscribers: cedric, rajeshps

Differential Revision: https://phab.enlightenment.org/D2071

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
AUTHORS
src/modules/eina/mp/chained_pool/eina_chained_mempool.c