summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-05-30 19:11:24 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-07-23 00:26:58 +0200
commit24560056de61d86153cecb84d04e4237437f5888 (patch)
tree4674113128e446afb740fcc1d45d7fbd64dcff1f /init
parentrcu: Change return type to bool (diff)
downloadlinux-24560056de61d86153cecb84d04e4237437f5888.tar.xz
linux-24560056de61d86153cecb84d04e4237437f5888.zip
rcu: Add RCU-sched flavors of get-state and cond-sync
The get_state_synchronize_rcu() and cond_synchronize_rcu() functions allow polling for grace-period completion, with an actual wait for a grace period occurring only when cond_synchronize_rcu() is called too soon after the corresponding get_state_synchronize_rcu(). However, these functions work only for vanilla RCU. This commit adds the get_state_synchronize_sched() and cond_synchronize_sched(), which provide the same capability for RCU-sched. Reported-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions