Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: paulmck@linux.vnet.ibm.com (Paul E. McKenney)
Subject: [lttng-dev] urcu stack and queues updates and documentation
Date: Tue, 16 Oct 2012 14:37:27 -0700	[thread overview]
Message-ID: <20121016213727.GL2385@linux.vnet.ibm.com> (raw)
In-Reply-To: <20121014175332.GA2947@Krystal>

On Sun, Oct 14, 2012 at 01:53:32PM -0400, Mathieu Desnoyers wrote:
> Hi Paul!
> 
> I know you are currently looking at documentation of urcu data
> structures. I did quite a bit of work in that area these past days. Here
> is my plan:

Actually, I diverted to the atomic operations, given that the stack/queue
API seems to be in flux.  ;-)

> 1) I would like to deprecate, at some point, rculfqueue, wfqueue, and
>    rculfstack.
> 
> 2) For wfqueue, we replace it by wfcqueue, currently in the urcu master
>    branch.
> 
> 3) For rculfstack, we replace it by lfstack available here (volatile
>    branch):
> 
> git://git.dorsal.polymtl.ca/~compudj/userspace-rcu
> branch: urcu/lfstack

I probably have to document them to have any chance of having an opinion,
other than my usual advice to avoid disrupting users of the old interfaces.

> 4) I did documentation improvements (and implemented pop_all as well as
>    empty, and iterators) for wfstack here (volatile branch too):
> 
> git://git.dorsal.polymtl.ca/~compudj/userspace-rcu
> branch: urcu/wfstack

I will be very happy to take advantage of this.  ;-)

> 5) The last one to look into would be rculfqueue. I'd really like to
>    create a lfcqueue derived from wfcqueue if possible. It's the next
>    item on my todo list this weekend.

The piece I am missing is ABA avoidance.  Or is this the approach
that assumes a single dequeuer?

							Thanx, Paul

> Thoughts ?
> 
> Thanks,
> 
> Mathieu
> 
> -- 
> Mathieu Desnoyers
> Operating System Efficiency R&D Consultant
> EfficiOS Inc.
> http://www.efficios.com
> 




  reply	other threads:[~2012-10-16 21:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-14 17:53 Mathieu Desnoyers
2012-10-16 21:37 ` Paul E. McKenney [this message]
2012-10-17 15:19   ` Mathieu Desnoyers
2012-10-22 17:44     ` Paul E. McKenney
2012-10-23  2:12       ` Mathieu Desnoyers
2012-10-23 12:29         ` Mathieu Desnoyers
2012-10-23 12:50           ` Mathieu Desnoyers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121016213727.GL2385@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox