summaryrefslogtreecommitdiffstats
path: root/Documentation/RCU
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-05-01 16:29:47 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-07-12 15:38:49 -0700
commite44e73ca47b47510dac491329d453d82aea1d8d8 (patch)
tree4daaaf0e5b57d81fa4fdfced7a2e4671abf2ae78 /Documentation/RCU
parentff3bb6f4d06247508489345ee90a8a9b6f3ffd3b (diff)
downloadlinux-0-day-e44e73ca47b47510dac491329d453d82aea1d8d8.tar.gz
linux-0-day-e44e73ca47b47510dac491329d453d82aea1d8d8.tar.xz
rcu: Make simple callback acceleration refer to rdp->gp_seq_needed
Now that the rcu_data structure contains ->gp_seq_needed, create an rcu_accelerate_cbs_unlocked() helper function that locklessly checks to see if new callbacks' required grace period has already been requested. If so, update the callback list locally and again locklessly. (Though interrupts must be and are disabled to avoid racing with conflicting updates in interrupt handlers.) Otherwise, call rcu_accelerate_cbs() as before. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/RCU')
0 files changed, 0 insertions, 0 deletions