From: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
To: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>,
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
Arnd Bergmann <arnd@arndb.de>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/3] tracepoint: add __rcu annotation
Date: Wed, 5 Jan 2011 08:57:31 -0500 [thread overview]
Message-ID: <20110105135731.GA19922@Krystal> (raw)
In-Reply-To: <4D22D4F1.50505@cn.fujitsu.com>
* Lai Jiangshan (laijs@cn.fujitsu.com) wrote:
> Add __rcu annotation to :
> (struct tracepoint)->funcs
>
> signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Yep, makes sense!
Thanks,
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
> ---
> diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
> index d3e4f87..e0e400d 100644
> --- a/include/linux/tracepoint.h
> +++ b/include/linux/tracepoint.h
> @@ -32,7 +32,7 @@ struct tracepoint {
> int state; /* State. */
> void (*regfunc)(void);
> void (*unregfunc)(void);
> - struct tracepoint_func *funcs;
> + struct tracepoint_func __rcu *funcs;
> } __attribute__((aligned(32))); /*
> * Aligned on 32 bytes because it is
> * globally visible and gcc happily
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
next prev parent reply other threads:[~2011-01-05 14:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-04 8:06 [PATCH 2/3] tracepoint: add __rcu annotation Lai Jiangshan
2011-01-05 13:57 ` Mathieu Desnoyers [this message]
2011-01-09 21:11 ` [tip:perf/urgent] tracepoint: Add " tip-bot for Lai Jiangshan
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=20110105135731.GA19922@Krystal \
--to=mathieu.desnoyers@polymtl.ca \
--cc=arnd@arndb.de \
--cc=laijs@cn.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paulmck@linux.vnet.ibm.com \
--cc=rostedt@goodmis.org \
/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