Remove parameter from rcu_read_lock()
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 9 Feb 2009 04:56:15 +0000 (23:56 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 9 Feb 2009 04:56:15 +0000 (23:56 -0500)
commit1430ee0bdca4cb454d534ef7fc84af3e0692f26b
tree01a2353dd6e5aab124066c2d0a54f89b8ffb3f0d
parent9d335088c7c7eb6219e32ec9426d336f3a211a77
Remove parameter from rcu_read_lock()

Also makes the read fast-path twice faster :

7 cycles instead of 14 on a 8-cores x86_64.

Mathieu :

I limited the amount of nested readers to 256. Should be enough and lets us use
testb generically.

Changed the 64-bits code to make it the same as 32-bits. I prefer to have the
exact same behavior on both architectures.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Makefile
test_urcu.c
test_urcu_timing.c
urcu.c
urcu.h
This page took 0.031017 seconds and 4 git commands to generate.