Skip to contentSkip to conversation

Userspace RCU 0.7.6

RELEASE Mathieu Desnoyers 2 participants 4 messages Jan 9, 2013 – Jan 10, 2013

lore
Share & tools
lore
#0 lore raw

liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data synchronization library provides read-side access which scales linearly with the number of cores. It does so by allowing multiples copies of a given data structure to live at the same time, and by monitoring the data structure accesses to detect grace periods after which memory reclamation is possible.

liburcu-cds provides efficient data structures based on RCU and lock-free algorithms. Those structures include hash tables, queues, stacks, and doubly-linked lists.

This is a bugfix release, mainly fixing handling of processes using call_rcu, then fork() without following exec(), and then continuing use of synchronize_rcu() or call_rcu() in the child process. A hang in synchronize_rcu() in the child could occur, which is fixed by this release.

Changelog:
2013-01-09 Userspace RCU 0.7.6
* Discourage use of pthread_atfork() for call_rcu handlers
* Fix call_rcu fork handling
* test: fork handling
* Fix TLS detection: test with linker, add --disable-compiler-tls
* Cleanup: cast pthread_self() return value to unsigned long
* Fallback mechanism not working on platform where TLS is unsupported

Project website: http://lttng.org/urcu
Download link: http://lttng.org/files/urcu/

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
#1 lore raw
Quoted 26 lines · On Wed, 9 Jan 2013 13:46:17 -0500 Mathieu Desnoyers…

liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data synchronization library provides read-side access which scales linearly with the number of cores. It does so by allowing multiples copies of a given data structure to live at the same time, and by monitoring the data structure accesses to detect grace periods after which memory reclamation is possible.

liburcu-cds provides efficient data structures based on RCU and lock-free algorithms. Those structures include hash tables, queues, stacks, and doubly-linked lists.

This is a bugfix release, mainly fixing handling of processes using call_rcu, then fork() without following exec(), and then continuing use of synchronize_rcu() or call_rcu() in the child process. A hang in synchronize_rcu() in the child could occur, which is fixed by this release.

Changelog:
2013-01-09 Userspace RCU 0.7.6
* Discourage use of pthread_atfork() for call_rcu handlers
* Fix call_rcu fork handling
* test: fork handling
* Fix TLS detection: test with linker, add --disable-compiler-tls
* Cleanup: cast pthread_self() return value to unsigned long
* Fallback mechanism not working on platform where TLS is unsupported

Quoted 3 lines

Project website: http://lttng.org/urcu
Download link: http://lttng.org/files/urcu/

Why is the git repository still at 0.7.4 and there is no tag for 0.7.6? Am I looking at the right place?

  $ git remote -v
origin	git://git.lttng.org/userspace-rcu.git (fetch)
#2 lore raw
Quoted 29 lines · * Stephen Hemminger ([email protected]) wrote:
Quoted 26 lines · On Wed, 9 Jan 2013 13:46:17 -0500 Mathieu Desnoyers…

liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data synchronization library provides read-side access which scales linearly with the number of cores. It does so by allowing multiples copies of a given data structure to live at the same time, and by monitoring the data structure accesses to detect grace periods after which memory reclamation is possible.

liburcu-cds provides efficient data structures based on RCU and lock-free algorithms. Those structures include hash tables, queues, stacks, and doubly-linked lists.

This is a bugfix release, mainly fixing handling of processes using call_rcu, then fork() without following exec(), and then continuing use of synchronize_rcu() or call_rcu() in the child process. A hang in synchronize_rcu() in the child could occur, which is fixed by this release.

Changelog:
2013-01-09 Userspace RCU 0.7.6
* Discourage use of pthread_atfork() for call_rcu handlers
* Fix call_rcu fork handling
* test: fork handling
* Fix TLS detection: test with linker, add --disable-compiler-tls
* Cleanup: cast pthread_self() return value to unsigned long
* Fallback mechanism not working on platform where TLS is unsupported

Quoted 8 lines
Quoted 3 lines

Project website: http://lttng.org/urcu
Download link: http://lttng.org/files/urcu/

Why is the git repository still at 0.7.4 and there is no tag for 0.7.6? Am I looking at the right place?

  $ git remote -v
origin	git://git.lttng.org/userspace-rcu.git (fetch)

I tried doing this to confirm:

git clone git://git.lttng.org/userspace-rcu.git
cd userspace-rcu
git tag -l

and v0.7.6 is there.

Please note that this tag is in the stable-0.7 branch (not master).

Please let me know if the problem persists for you after making sure you use the right branch.

Thanks,

Mathieu

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
#3 lore raw
Quoted 47 lines · On Thu, 10 Jan 2013 11:42:41 -0500 Mathieu Desnoyers…
Quoted 29 lines · * Stephen Hemminger ([email protected]) wrote:
Quoted 26 lines · On Wed, 9 Jan 2013 13:46:17 -0500 Mathieu Desnoyers…

liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data synchronization library provides read-side access which scales linearly with the number of cores. It does so by allowing multiples copies of a given data structure to live at the same time, and by monitoring the data structure accesses to detect grace periods after which memory reclamation is possible.

liburcu-cds provides efficient data structures based on RCU and lock-free algorithms. Those structures include hash tables, queues, stacks, and doubly-linked lists.

This is a bugfix release, mainly fixing handling of processes using call_rcu, then fork() without following exec(), and then continuing use of synchronize_rcu() or call_rcu() in the child process. A hang in synchronize_rcu() in the child could occur, which is fixed by this release.

Changelog:
2013-01-09 Userspace RCU 0.7.6
* Discourage use of pthread_atfork() for call_rcu handlers
* Fix call_rcu fork handling
* test: fork handling
* Fix TLS detection: test with linker, add --disable-compiler-tls
* Cleanup: cast pthread_self() return value to unsigned long
* Fallback mechanism not working on platform where TLS is unsupported

Quoted 8 lines
Quoted 3 lines

Project website: http://lttng.org/urcu
Download link: http://lttng.org/files/urcu/

Why is the git repository still at 0.7.4 and there is no tag for 0.7.6? Am I looking at the right place?

  $ git remote -v
origin	git://git.lttng.org/userspace-rcu.git (fetch)

I tried doing this to confirm:

git clone git://git.lttng.org/userspace-rcu.git
cd userspace-rcu
git tag -l

and v0.7.6 is there.

Quoted 9 lines

Please note that this tag is in the stable-0.7 branch (not master).

Please let me know if the problem persists for you after making sure you use the right branch.

Thanks,

Mathieu

Ok, I didn't see the stable branch.