summaryrefslogtreecommitdiffstats
path: root/kernel/time/hrtimer.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-03-10 15:31:55 -0800
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-04-18 11:38:20 -0700
commitc2a8ec0778b2ca0d360ba9b5cac7fcd5ddfe798f (patch)
tree03f3c9bd515211b30d58cd2d998969e020395ed5 /kernel/time/hrtimer.c
parentc6e56f593ac2df436700527c3488d4ed224c3acf (diff)
downloadlinux-c2a8ec0778b2ca0d360ba9b5cac7fcd5ddfe798f.tar.gz
linux-c2a8ec0778b2ca0d360ba9b5cac7fcd5ddfe798f.tar.bz2
linux-c2a8ec0778b2ca0d360ba9b5cac7fcd5ddfe798f.zip
srcu: Move to state-based grace-period sequencing
The current SRCU grace-period processing might never reach the last portion of srcu_advance_batches(). This is OK given the current implementation, as the first portion, up to the try_check_zero() following the srcu_flip() is sufficient to drive grace periods forward. However, it has the unfortunate side-effect of making it impossible to determine when a given grace period has ended, and it will be necessary to efficiently trace ends of grace periods in order to efficiently handle per-CPU SRCU callback lists. This commit therefore adds states to the SRCU grace-period processing, so that the end of a given SRCU grace period is marked by the transition to the SRCU_STATE_DONE state. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/time/hrtimer.c')
0 files changed, 0 insertions, 0 deletions