Performance: Only dereference commit index once
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 25 Sep 2016 15:06:10 +0000 (11:06 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 25 Sep 2016 15:06:10 +0000 (11:06 -0400)
commit8ec496cfb24b29a54c057a332fc91e761994999e
treeed252de1bedc984df75cfa36d33e4ad67b176935
parente650bcc12be0e62b166ffa1e5171fef2c437d267
Performance: Only dereference commit index once

The commit fast path should not dereference the commit counter index
repeatedly for performance reasons.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/ringbuffer/frontend_api.h
lib/ringbuffer/frontend_internal.h
lib/ringbuffer/ring_buffer_frontend.c
This page took 0.025595 seconds and 4 git commands to generate.