Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] Query on the rculist
Date: Mon, 21 Jan 2013 09:16:46 -0500	[thread overview]
Message-ID: <20130121141645.GB31140@Krystal> (raw)
In-Reply-To: <50FCA183.8030201@gmail.com>

* Liu Yuan (namei.unix at gmail.com) wrote:
> Hi List,
> 
>    I noticed that there are just few functions suffixed with rcu for
> rculist. And from the source of Linux kernel rculist, I came up with
> some comments saying that list_empty_rcu() can be simply achieved by
> calling list_empty(). Is this true to urcu too? My questions is, are
> following equivalents true?
> 
>   list_empty_rcu -> list_empty

Yes.

>   list_del_init_rcu -> list_del_init

No.

> 
> If there are more equivalents, please show light on it.

I will prepare a patch to extend and document the list and rculist APIs.
Your feedback is welcome.

Thanks!

Mathieu

> 
> Thanks,
> Yuan

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



  reply	other threads:[~2013-01-21 14:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-21  2:01 Liu Yuan
2013-01-21 14:16 ` Mathieu Desnoyers [this message]
2013-01-22 14:24   ` Lai Jiangshan
2013-01-24  5:22     ` Liu Yuan
2013-01-24 17:04       ` 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=20130121141645.GB31140@Krystal \
    --to=mathieu.desnoyers@efficios.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