diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-06-30 15:23:37 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-08-30 16:02:38 -0700 |
commit | ba1c64c27239373be1b3d88cf0a9ac1b10fa871f (patch) | |
tree | 213989e0ed3d4c35f86efd1f1f4248634ab80e06 /kernel/rcu/tree.c | |
parent | d28139c4e96713d52a300fb9036c5be2f45e0741 (diff) | |
download | linux-ba1c64c27239373be1b3d88cf0a9ac1b10fa871f.tar.gz linux-ba1c64c27239373be1b3d88cf0a9ac1b10fa871f.tar.bz2 linux-ba1c64c27239373be1b3d88cf0a9ac1b10fa871f.zip |
rcu: Report expedited grace periods at context-switch time
This commit reduces the latency of expedited RCU grace periods by
reporting a quiescent state for the CPU at context-switch time.
In CONFIG_PREEMPT=y kernels, if the outgoing task is still within an
RCU read-side critical section (and thus still blocking some grace
period, perhaps including this expedited grace period), then that task
will already have been placed on one of the leaf rcu_node structures'
->blkd_tasks list.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.c')
0 files changed, 0 insertions, 0 deletions