This patch series refines the buffer allocator to resolve a number of
bugs as well as to permit comparative performance scalability testing
by allowing compile-time selection between lock-based and lockless
buffer allocation.

The USE_BUFFER_POOL_LOCKS compile switch is defined and defaults to 0,
meaning that lockless allocation is used. Setting this to 1 enables
lock-based allocation. In either mode, this resolves Bug 1051.

Bill Fischofer (3):
  linux-generic: buffers: expand ODP_BITSIZE macro
  linux-generic: buffers: improve lockless allocator
  linux-generic: buffers: add lock-based allocator

 .../linux-generic/include/odp_buffer_internal.h    |  78 ++++++--
 .../include/odp_buffer_pool_internal.h             | 209 +++++++++++++++++----
 platform/linux-generic/odp_buffer_pool.c           |  19 +-
 3 files changed, 251 insertions(+), 55 deletions(-)

-- 
2.1.0


_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to