rculfhash: hold rcu read-side lock in resize
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 11 Sep 2011 05:09:55 +0000 (22:09 -0700)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 11 Sep 2011 05:09:55 +0000 (22:09 -0700)
commit01dbfa62037e08aa2d08ab0e721267ccdd99b947
tree0bf2d5614e3637350104c03512f4276b1f8091c9
parent51b03c6fc39b594df1bdaaf2d6705aa56883334e
rculfhash: hold rcu read-side lock in resize

We need to hold the RCU read-side lock in resize to protect against ABA
caused by re-use of nodes after going through the memory allocator
through a call_rcu performed on another CPU.

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