All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3] tracepoint: add __rcu annotation
@ 2011-01-04  8:06 Lai Jiangshan
  2011-01-05 13:57 ` Mathieu Desnoyers
  2011-01-09 21:11 ` [tip:perf/urgent] tracepoint: Add " tip-bot for Lai Jiangshan
  0 siblings, 2 replies; 3+ messages in thread
From: Lai Jiangshan @ 2011-01-04  8:06 UTC (permalink / raw)
  To: Mathieu Desnoyers, Steven Rostedt, Paul E. McKenney,
	Arnd Bergmann, LKML

Add __rcu annotation to :
	(struct tracepoint)->funcs

signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/3] tracepoint: add __rcu annotation
  2011-01-04  8:06 [PATCH 2/3] tracepoint: add __rcu annotation Lai Jiangshan
@ 2011-01-05 13:57 ` Mathieu Desnoyers
  2011-01-09 21:11 ` [tip:perf/urgent] tracepoint: Add " tip-bot for Lai Jiangshan
  1 sibling, 0 replies; 3+ messages in thread
From: Mathieu Desnoyers @ 2011-01-05 13:57 UTC (permalink / raw)
  To: Lai Jiangshan; +Cc: Steven Rostedt, Paul E. McKenney, Arnd Bergmann, LKML

* 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip:perf/urgent] tracepoint: Add __rcu annotation
  2011-01-04  8:06 [PATCH 2/3] tracepoint: add __rcu annotation Lai Jiangshan
  2011-01-05 13:57 ` Mathieu Desnoyers
@ 2011-01-09 21:11 ` tip-bot for Lai Jiangshan
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Lai Jiangshan @ 2011-01-09 21:11 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, hpa, mingo, mathieu.desnoyers, rostedt, tglx, laijs

Commit-ID:  bd1c8b22b7b81c6f6c4f5c19cb2387da3d02fb0f
Gitweb:     http://git.kernel.org/tip/bd1c8b22b7b81c6f6c4f5c19cb2387da3d02fb0f
Author:     Lai Jiangshan <laijs@cn.fujitsu.com>
AuthorDate: Tue, 4 Jan 2011 16:06:09 +0800
Committer:  Steven Rostedt <rostedt@goodmis.org>
CommitDate: Fri, 7 Jan 2011 20:57:22 -0500

tracepoint: Add __rcu annotation

Add __rcu annotation to :
	(struct tracepoint)->funcs

Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
LKML-Reference: <4D22D4F1.50505@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
 include/linux/tracepoint.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
index 899103c..c681461 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-09 21:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-04  8:06 [PATCH 2/3] tracepoint: add __rcu annotation Lai Jiangshan
2011-01-05 13:57 ` Mathieu Desnoyers
2011-01-09 21:11 ` [tip:perf/urgent] tracepoint: Add " tip-bot for Lai Jiangshan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.