Re: [PATCH] RCU: Adjust the comment of function rcu_is_watching

2018-10-08 Thread Paul E. McKenney
On Mon, Oct 08, 2018 at 06:50:41AM +, zhouzho...@gmail.com wrote: > From: Zhouyi Zhou > > Because RCU avoids interrupting idle CPUs, rcu_is_watching is used to > test whether or not it is currently legal to run RCU read-side > critical sections on this CPU. > > First sentence and last sent

[PATCH] RCU: Adjust the comment of function rcu_is_watching

2018-10-07 Thread zhouzhouyi
From: Zhouyi Zhou Because RCU avoids interrupting idle CPUs, rcu_is_watching is used to test whether or not it is currently legal to run RCU read-side critical sections on this CPU. First sentence and last sentence of current comment for rcu_is_watching have opposite meaning of what is expecte