* [lttng-dev] New article about Userspace RCU on LWN [not found] <1461373672.70240.1384791399260.JavaMail.zimbra@efficios.com> @ 2013-11-18 16:20 ` Mathieu Desnoyers 2013-11-19 8:50 ` Duncan Sands 0 siblings, 1 reply; 3+ messages in thread From: Mathieu Desnoyers @ 2013-11-18 16:20 UTC (permalink / raw) Hi, Paul McKenney, Lai Jianshan, Josh Triplett and myself just published a series of articles on Userspace RCU on Linux Weekly News. You can find the top-level article at this URL: https://lwn.net/Articles/573424/ Those articles introduce the Userspace RCU library, explaining how to use RCU and the data structures it contains. Access to those articles is restricted to LWN subscribers for a week after publication, and should be freely available afterward. Feedback is welcome! Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com ^ permalink raw reply [flat|nested] 3+ messages in thread
* [lttng-dev] New article about Userspace RCU on LWN 2013-11-18 16:20 ` [lttng-dev] New article about Userspace RCU on LWN Mathieu Desnoyers @ 2013-11-19 8:50 ` Duncan Sands 2013-11-19 14:55 ` Mathieu Desnoyers 0 siblings, 1 reply; 3+ messages in thread From: Duncan Sands @ 2013-11-19 8:50 UTC (permalink / raw) Hi Mathieu, nice articles, now I can point my co-workers at it when they ask me what this RCU stuff is all about :) I noticed that the article http://lwn.net/Articles/573431/ says "The hash table can then be allocated: ht = cds_lfht_new(1, 1, 0, CDS_LFHT_AUTO_RESIZE, NULL); The first 1 specifies the initial number of hash buckets in the table, the second 1 specifies the minimum number of hash buckets, and the 0 specifies the maximum number of hash buckets. All three quantities must be powers of two, except for the special case of 0 for the third argument, which specifies an unlimited maximum number of hash buckets." However the rculfhash.h header doesn't say that the third argument can be zero. All it says is: * @max_nr_buckets: the maximum number of hash table buckets allowed. * (must be power of two) Best wishes, Duncan. On 18/11/13 17:20, Mathieu Desnoyers wrote: > Hi, > > Paul McKenney, Lai Jianshan, Josh Triplett and myself just published a series of articles on Userspace RCU on Linux Weekly News. You can find the top-level article at this URL: > > https://lwn.net/Articles/573424/ > > Those articles introduce the Userspace RCU library, explaining how to use RCU and the data structures it contains. Access to those articles is restricted to LWN subscribers for a week after publication, and should be freely available afterward. > > Feedback is welcome! > > Thanks, > > Mathieu > ^ permalink raw reply [flat|nested] 3+ messages in thread
* [lttng-dev] New article about Userspace RCU on LWN 2013-11-19 8:50 ` Duncan Sands @ 2013-11-19 14:55 ` Mathieu Desnoyers 0 siblings, 0 replies; 3+ messages in thread From: Mathieu Desnoyers @ 2013-11-19 14:55 UTC (permalink / raw) ----- Original Message ----- > From: "Duncan Sands" <baldrick@free.fr> > To: lttng-dev at lists.lttng.org > Sent: Tuesday, November 19, 2013 3:50:39 AM > Subject: Re: [lttng-dev] New article about Userspace RCU on LWN > > Hi Mathieu, nice articles, now I can point my co-workers at it when they ask > me > what this RCU stuff is all about :) I noticed that the article > http://lwn.net/Articles/573431/ > says > > "The hash table can then be allocated: > > ht = cds_lfht_new(1, 1, 0, CDS_LFHT_AUTO_RESIZE, NULL); > The first 1 specifies the initial number of hash buckets in the table, the > second 1 specifies the minimum number of hash buckets, and the 0 specifies > the > maximum number of hash buckets. All three quantities must be powers of two, > except for the special case of 0 for the third argument, which specifies an > unlimited maximum number of hash buckets." > > However the rculfhash.h header doesn't say that the third argument can be > zero. > All it says is: > > * @max_nr_buckets: the maximum number of hash table buckets allowed. > * (must be power of two) Hi Duncan, I'm glad you like the paper! Indeed, this info was missing from the source code. I just pushed a commit that fixes things up. Thanks! Mathieu > > Best wishes, Duncan. > > On 18/11/13 17:20, Mathieu Desnoyers wrote: > > Hi, > > > > Paul McKenney, Lai Jianshan, Josh Triplett and myself just published a > > series of articles on Userspace RCU on Linux Weekly News. You can find the > > top-level article at this URL: > > > > https://lwn.net/Articles/573424/ > > > > Those articles introduce the Userspace RCU library, explaining how to use > > RCU and the data structures it contains. Access to those articles is > > restricted to LWN subscribers for a week after publication, and should be > > freely available afterward. > > > > Feedback is welcome! > > > > Thanks, > > > > Mathieu > > > > > _______________________________________________ > lttng-dev mailing list > lttng-dev at lists.lttng.org > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev > -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-19 14:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1461373672.70240.1384791399260.JavaMail.zimbra@efficios.com>
2013-11-18 16:20 ` [lttng-dev] New article about Userspace RCU on LWN Mathieu Desnoyers
2013-11-19 8:50 ` Duncan Sands
2013-11-19 14:55 ` Mathieu Desnoyers
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox