diff options
author | 2018-01-31 22:39:53 +0300 | |
---|---|---|
committer | 2018-02-20 16:21:11 -0800 | |
commit | a35d13ec3686612b17771bf1abcad75d2ebd42ef (patch) | |
tree | 4a01547083b852f276e2601a2ce23ac76808ede4 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | srcu: Abstract function name (diff) | |
download | linux-dev-a35d13ec3686612b17771bf1abcad75d2ebd42ef.tar.xz linux-dev-a35d13ec3686612b17771bf1abcad75d2ebd42ef.zip |
srcu: Prevent sdp->srcu_gp_seq_needed_exp counter wrap
SRCU checks each srcu_data structure's grace-period number for counter
wrap four times per cycle by default. This frequency guarantees that
normal comparisons will detect potential wrap. However, the expedited
grace-period number is not checked. The consquences are not too horrible
(a failure to expedite a grace period when requested), but it would be
good to avoid such things. This commit therefore adds this check to
the expedited grace-period number.
Signed-off-by: Ildar Ismagilov <devix84@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions