summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2022-01-12 20:52:44 +0300
committerPaul E. McKenney <paulmck@kernel.org>2022-04-12 01:31:01 +0300
commit8ed00760203d8018bee042fbfe8e076579be2c2b (patch)
treed436cccfe36000d8561e63aaabd378920da7f0c3 /tools/perf/scripts/python/export-to-postgresql.py
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
downloadlinux-8ed00760203d8018bee042fbfe8e076579be2c2b.tar.xz
srcu: Tighten cleanup_srcu_struct() GP checks
Currently, cleanup_srcu_struct() checks for a grace period in progress, but it does not check for a grace period that has not yet started but which might start at any time. Such a situation could result in a use-after-free bug, so this commit adds a check for a grace period that is needed but not yet started to cleanup_srcu_struct(). Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions