summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-07-01 13:50:28 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-07-17 14:59:04 -0700
commitb9a425cfcb3c473b4ca2f3dfaeaf13848f4a7976 (patch)
tree440b7afc650a58987220eb4fffb443552363adf4 /kernel/rcu/tree.h
parent99a930b0d2b018f31474d69137f311ce3581a4c2 (diff)
downloadblackbird-obmc-linux-b9a425cfcb3c473b4ca2f3dfaeaf13848f4a7976.tar.gz
blackbird-obmc-linux-b9a425cfcb3c473b4ca2f3dfaeaf13848f4a7976.zip
rcu: Pull out wait_event*() condition into helper function
The condition for the wait_event_interruptible_timeout() that waits to do the next force-quiescent-state scan is a bit ornate: ((gf = READ_ONCE(rsp->gp_flags)) & RCU_GP_FLAG_FQS) || (!READ_ONCE(rnp->qsmask) && !rcu_preempt_blocked_readers_cgp(rnp)) This commit therefore pulls this condition out into a helper function and comments its component conditions. Reported-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud