diff options
author | 2023-03-29 18:02:03 +0200 | |
---|---|---|
committer | 2023-05-11 13:44:50 -0700 | |
commit | fbde57d2d2995375305917b3c944bc861beb84d4 (patch) | |
tree | 18e06559d20a7a78fd716db3e59ffbc5c0cdc6e7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcu/nocb: Recheck lazy callbacks under the ->nocb_lock from shrinker (diff) | |
download | wireguard-linux-fbde57d2d2995375305917b3c944bc861beb84d4.tar.xz wireguard-linux-fbde57d2d2995375305917b3c944bc861beb84d4.zip |
rcu/nocb: Make shrinker iterate only over NOCB CPUs
Callbacks can only be queued as lazy on NOCB CPUs, therefore iterating
over the NOCB mask is enough for both counting and scanning. Just lock
the mostly uncontended barrier mutex on counting as well in order to
keep rcu_nocb_mask stable.
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
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