Avoid alloc small memory pieces
authorLai Jiangshan <laijs@cn.fujitsu.com>
Fri, 28 Oct 2011 06:09:40 +0000 (08:09 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 28 Oct 2011 06:09:40 +0000 (08:09 +0200)
commit5488222bbdb95680d942c3fb645095b48e96620f
tree9554fe519b2c8d49a60df76b6e07bc245588d826
parent4f6e90b73cb103d7d49b8b4838c5f48c3d15b02e
Avoid alloc small memory pieces

Add min_alloc_size (minimum allocation size) for allocation.

Now we can gain better cache locality by specifying larger minimum
allocation size.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
rculfhash.c
tests/test_urcu_hash.c
urcu/rculfhash.h
This page took 0.025385 seconds and 4 git commands to generate.