Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: namei.unix@gmail.com (Liu Yuan)
Subject: [lttng-dev] Query on the rculist
Date: Thu, 24 Jan 2013 13:22:13 +0800	[thread overview]
Message-ID: <5100C505.6080505@gmail.com> (raw)
In-Reply-To: <50FEA109.6060404@gmail.com>

On 01/22/2013 10:24 PM, Lai Jiangshan wrote:
> Add a trivial comment.
> 
> There is no list_del_init_rcu(), "init" hurts "rcu".
> If you need a re-initialized object after deletion, you should use
> synchronzie_rcu():
> 
> list_del_rcu();
> synchronize_rcu();
> CDS_INIT_LIST_HEAD();

Thanks, note taken. Mathieu, could you add this as comment for
rculist.h? It will save people from finding list_dei_init_rcu().

Yuan



  reply	other threads:[~2013-01-24  5:22 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
2013-01-22 14:24   ` Lai Jiangshan
2013-01-24  5:22     ` Liu Yuan [this message]
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=5100C505.6080505@gmail.com \
    --to=namei.unix@gmail.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