Skip to content
Commit 8ddbd883 authored by Ildar Ismagilov's avatar Ildar Ismagilov Committed by Paul E. McKenney
Browse files

srcu: Reduce scans of srcu_data in counter wrap check



Currently, given a multi-level srcu_node tree, SRCU can scan the full
set of srcu_data structures at each level when cleaning up after a grace
period.  This, though harmless otherwise, represents pointless overhead.
This commit therefore eliminates this overhead by scanning the srcu_data
structures only when traversing the leaf srcu_node structures.

Signed-off-by: default avatarIldar Ismagilov <devix84@gmail.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent a35d13ec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment