Messages in this thread | | | Date | Fri, 02 Apr 2010 20:27:15 +0800 | From | Lai Jiangshan <> | Subject | Re: [PATCH] rcu: don't call rcu_preempt_note_context_switch() in rcu_check_callbacks() |
| |
Paul E. McKenney wrote: > On Thu, Apr 01, 2010 at 03:24:05PM +0800, Lai Jiangshan wrote: >> Paul E. McKenney wrote: >>> Possibly by moving the clearing of RCU_READ_UNLOCK_NEED_QS to >>> rcu_preempt_check_callbacks() >> current rcu_preempt_check_callbacks() already has code to >> clear RCU_READ_UNLOCK_NEED_QS. > > English is failing me. > How about the following patch instead? Untested, > probably does not even compile. > > Thanx, Paul >
Very nice, thank you.
Acked-by: Lai Jiangshan <laijs@cn.fujitsu.com>
| |