[PATCH 1/3] sched: add __rcu annotation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Lai Jiangshan
Date: Tuesday, January 4, 2011 - 1:06 am

Add __rcu annotation to :
	(struct rq)->sd

signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
---
diff --git a/kernel/sched.c b/kernel/sched.c
index 5ec0615..d23b706 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -500,7 +500,7 @@ struct rq {
 
 #ifdef CONFIG_SMP
 	struct root_domain *rd;
-	struct sched_domain *sd;
+	struct sched_domain __rcu *sd;
 
 	unsigned long cpu_power;
 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/3] sched: add __rcu annotation, Lai Jiangshan, (Tue Jan 4, 1:06 am)
Re: [PATCH 1/3] sched: add __rcu annotation, Peter Zijlstra, (Tue Jan 4, 3:17 am)
Re: [PATCH 1/3] sched: add __rcu annotation, Eric Dumazet, (Tue Jan 4, 3:55 am)
Re: [PATCH 1/3] sched: add __rcu annotation, Peter Zijlstra, (Tue Jan 4, 4:01 am)