summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-07-01 23:50:28 +0300
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-07-18 00:59:04 +0300
commitb9a425cfcb3c473b4ca2f3dfaeaf13848f4a7976 (patch)
tree440b7afc650a58987220eb4fffb443552363adf4 /tools/perf/util/scripting-engines/trace-event-python.c
parent99a930b0d2b018f31474d69137f311ce3581a4c2 (diff)
downloadlinux-b9a425cfcb3c473b4ca2f3dfaeaf13848f4a7976.tar.xz
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions