diff options
author | 2020-04-15 22:26:55 +0000 | |
---|---|---|
committer | 2020-06-29 11:58:49 -0700 | |
commit | 7ee880b7bf1dea88d0a472b775aebdb4fb6bf860 (patch) | |
tree | 18e3addaf589f8769016e53b649fbb96a15fd498 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.8-rc3 (diff) | |
download | wireguard-linux-7ee880b7bf1dea88d0a472b775aebdb4fb6bf860.tar.xz wireguard-linux-7ee880b7bf1dea88d0a472b775aebdb4fb6bf860.zip |
rcu: Initialize and destroy rcu_synchronize only when necessary
The __wait_rcu_gp() function unconditionally initializes and cleans up
each element of rs_array[], whether used or not. This is slightly
wasteful and rather confusing, so this commit skips both initialization
and cleanup for duplicate callback functions.
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
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