[ltt-dev] [PATCH userspace-rcu] Allow multiple flavors of RCU in same executable

Paul E. McKenney paulmck at linux.vnet.ibm.com
Thu Jun 2 19:44:14 EDT 2011


Hello!

This series of patches permits a single executable to use multiple
flavors of userspace RCU.  This is important, as it allows userspace
RCU to be used freely by multiple libraries without requiring that
the multiple authors of this library code to come to agreement about
which flavor of userspace RCU they will all use.

This is updated from the version posted on May 31st to add documentation
and to make the child atfork interface use unlocking rather than
re-initialization.

							Thanx, Paul

------------------------------------------------------------------------

 Makefile.am            |    4 
 README                 |   36 ++
 a/urcu-call-rcu.c      |  617 -------------------------------------------------
 b/API.txt              |  120 +++++++++
 b/Makefile.am          |    3 
 b/README               |    4 
 b/tests/Makefile.am    |   33 +-
 b/tests/rcutorture.h   |    1 
 b/tests/urcutorture.c  |   13 -
 b/urcu-bp-map.h        |   61 ++++
 b/urcu-bp.c            |    4 
 b/urcu-bp.h            |    8 
 b/urcu-call-rcu-impl.h |  615 ++++++++++++++++++++++++++++++++++++++++++++++++
 b/urcu-call-rcu.c      |   26 +-
 b/urcu-defer-impl.h    |  450 +++++++++++++++++++++++++++++++++++
 b/urcu-map.h           |  117 +++++++++
 b/urcu-qsbr-map.h      |   63 +++++
 b/urcu-qsbr.c          |   36 +-
 b/urcu-qsbr.h          |   18 -
 b/urcu.c               |    5 
 b/urcu.h               |   20 +
 tests/Makefile.am      |    2 
 urcu-bp-map.h          |    6 
 urcu-bp.c              |    1 
 urcu-bp.h              |    5 
 urcu-defer-static.h    |  108 --------
 urcu-defer.c           |  385 ------------------------------
 urcu-map.h             |   26 ++
 urcu-qsbr-map.h        |    6 
 urcu-qsbr.c            |    1 
 urcu-qsbr.h            |   11 
 urcu.c                 |    1 
 urcu.h                 |   13 -
 33 files changed, 1627 insertions(+), 1192 deletions(-)




More information about the lttng-dev mailing list