diff options
author | 2024-03-19 14:54:57 -0400 | |
---|---|---|
committer | 2024-06-18 09:59:40 -0700 | |
commit | 6f948568fdc66429c9f70e2cecde0664655cc870 (patch) | |
tree | 86112f2aabb95b2b1d67764c8963d97e4e231307 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcu: Add lockdep_assert_in_rcu_read_lock() and friends (diff) | |
download | wireguard-linux-6f948568fdc66429c9f70e2cecde0664655cc870.tar.xz wireguard-linux-6f948568fdc66429c9f70e2cecde0664655cc870.zip |
rcu/tree: Reduce wake up for synchronize_rcu() common case
In the synchronize_rcu() common case, we will have less than
SR_MAX_USERS_WAKE_FROM_GP number of users per GP. Waking up the kworker
is pointless just to free the last injected wait head since at that point,
all the users have already been awakened.
Introduce a new counter to track this and prevent the wakeup in the
common case.
[ paulmck: Remove atomic_dec_return_release in cannot-happen state. ]
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Reviewed-by: Uladzislau Rezki (Sony) <urezki@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