login
Header Space

 
 

Re: [PATCH 1/5] Add call_rcu_sched()

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Paul E. McKenney <paulmck@...>
Cc: <linux-kernel@...>, <mathieu.desnoyers@...>, <mingo@...>, <akpm@...>, <hch@...>, <mmlnx@...>, <dipankar@...>, <dsmith@...>, <rostedt@...>, <adrian.bunk@...>, <a.p.zijlstra@...>, <niv@...>, <dvhltc@...>, <rusty@...>, <jkenisto@...>, <oleg@...>, <jamesclhuang@...>
Date: Monday, May 5, 2008 - 5:14 am

On Mon, Apr 21, 2008 at 05:50:31PM -0700, Paul E. McKenney wrote:

Yet to review the complete series. 

                                             ^^^^^^^^^^^^^^^^^^^^^^^^^
Where is this defined? And why do we need it? We
already have rcu_dyntick_sched.dynticks for this purpose, no?

		 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ should be
		 rcu_ctrlblk.sched_sleep
						^^^^^^^^^^^^^^^^^^^^
						for_each_cpu_mask().

Infact, for_each_offline_cpu() doesn't even exist ;-)

I guess doing the multiple cpu_is_offline() checks is unavoidable,
unless we use get_online_cpus()/put_online_cpus(). But that's an
overkill in this context.

So, looks okay to me.



-- 
Thanks and Regards
gautham
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/5] call_rcu_sched() series, Paul E. McKenney, (Mon Apr 21, 8:44 pm)
[PATCH 5/5] 1Q08 RCU doc update, add call_rcu_sched(), Paul E. McKenney, (Mon Apr 21, 8:49 pm)
Re: [PATCH 0/5] call_rcu_sched() series, Paul E. McKenney, (Mon Apr 21, 8:48 pm)
[PATCH 4/5] Add call_rcu_sched() and friends to rcutorture, Paul E. McKenney, (Mon Apr 21, 8:52 pm)
Re: [PATCH 0/5] call_rcu_sched() series, Paul E. McKenney, (Mon Apr 21, 8:51 pm)
[PATCH 3/5] Add rcu_barrier_sched() and rcu_barrier_bh(), Paul E. McKenney, (Mon Apr 21, 8:47 pm)
Re: [PATCH 3/5] Add rcu_barrier_sched() and rcu_barrier_bh(), Gautham R Shenoy, (Mon May 5, 5:22 am)
Re: [PATCH 3/5] Add rcu_barrier_sched() and rcu_barrier_bh(), Paul E. McKenney, (Mon May 5, 10:47 am)
Re: [PATCH 3/5] Add rcu_barrier_sched() and rcu_barrier_bh(), Gautham R Shenoy, (Mon May 5, 1:42 pm)
Re: [PATCH 3/5] Add rcu_barrier_sched() and rcu_barrier_bh(), Paul E. McKenney, (Tue May 6, 1:37 am)
Re: [PATCH 0/5] call_rcu_sched() series, Paul E. McKenney, (Mon Apr 21, 8:45 pm)
[PATCH 1/5] Add call_rcu_sched(), Paul E. McKenney, (Mon Apr 21, 8:50 pm)
Re: [PATCH 1/5] Add call_rcu_sched(), Gautham R Shenoy, (Mon May 5, 5:14 am)
Re: [PATCH 1/5] Add call_rcu_sched(), Paul E. McKenney, (Mon May 5, 10:43 am)
speck-geostationary