[lttng-dev] [RFC] Planning a release of the RCU lock-free hash table

David Goulet dgoulet at ev0ke.net
Fri Feb 17 11:06:41 EST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

We are using it quite a lot in lttng-tools and no problem at all for now. During
the implementation period (in lttng-tools) bugs were reported and usability
issues like the "for_each_entry" macros. It's been a couple of month now without
any issues.

I can't speak for stability/scalability but I do vouch for the *usefulness* for
a lot of other projects! If you feel that it's stable enough, go for it. More
user, more fixes.

Cheers!
David

On 12-02-17 10:56 AM, Mathieu Desnoyers wrote:
> Hello!
> 
> I wanted to ask around if the general feeling is that the API of the RCU
> lock-free hash table is stable enough to be pulled into the master
> branch of userspace rcu ? Are there any further changes to the API any
> of you would envision ?
> 
> Link to the current API:
> http://git.lttng.org/?p=userspace-rcu.git;a=blob;f=urcu/rculfhash.h;h=96dc5a023aa6d4958b24bf316269463ed114b62a;hb=refs/heads/urcu/ht-shrink
> 
> My personal thought is that after the restructuring, cleanup and fixes
> from Lai, and review from Paul and Stephen, things have been quiet for a
> few months, so it might be a good time to plan for a release.
> 
> Pointer to the rcu lock-free hash table branch:
> git://git.lttng.org/userspace-rcu.git branch: urcu/ht-shrink
> 
> It will be a _very_ nice addition to the userspace RCU library, as the
> uses of this lock-free hash table are many (think of routing, dns,
> parallel answer to network queries "pinned" to worker threads, etc..).
> This hash table is, IMHO, better than the Java lock-free hash table,
> mainly because the RCU lock-free hash table offers ordering guarantees
> over the modifications operations vs lookups and iteration.
> 
> Thoughts ?
> 
> Thanks,
> 
> Mathieu
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJPPnsRAAoJEELoaioR9I027I0H/iBHQK077qnuq3Jdt10XbE2R
v3Sh6dK86N0PUkxzU+SwTH4fChRs1ZWmw4TKNxc+J9Wbxkqu4GCvR795bCBxBTUD
xZTzZt06r6syaQ6GCrIGmT6j/UlhCZe12TUQP7bPB0A9t74tWDGiNuaYOqQuol6L
jwTayDAXwHaQE/URp3EMMU4UQYSEC+BQVzrkND3SIrZZ+T5k8SPBfI8WqIT5Zlda
DcDLWr6Yiwtgy2V/5n+rUcaVXj1G55cg8RkKdH3Iqz1KIgMWBhxAawOQuYBuoKDq
nqoBKwGQS0QmPWR+vgCBqF8mlFgBlhDYlyBQVHy+WADVccoTPcMyHFJg44ptPCQ=
=0+UO
-----END PGP SIGNATURE-----



More information about the lttng-dev mailing list