Detect RCU read-side overflows
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 13 Sep 2015 15:46:04 +0000 (11:46 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 13 Sep 2015 15:46:04 +0000 (11:46 -0400)
commit6ef5ddc9b4e136e250f3c5f292f847e6849e6200
tree8a472457a2b1aea79ebcbe2f9be90bd26de2e52c
parent343c8b13592134185263cd6e30a615c8c4e35b6d
Detect RCU read-side overflows

Use the urcu_assert() macro (enabled on DEBUG_RCU) to check for
unmatched rcu_read_lock() that eventually leads to nesting counter
overflow in urcu.h and urcu-bp.h. This won't necessarily point the the
exact rcu_read_lock() that is unmatched, but will at least detect the
overflow condition.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/static/urcu-bp.h
urcu/static/urcu.h
This page took 0.024634 seconds and 4 git commands to generate.