summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFrederic Weisbecker <frederic@kernel.org>2023-03-29 19:02:03 +0300
committerPaul E. McKenney <paulmck@kernel.org>2023-05-11 23:44:50 +0300
commitfbde57d2d2995375305917b3c944bc861beb84d4 (patch)
tree18e06559d20a7a78fd716db3e59ffbc5c0cdc6e7 /tools/perf/scripts/python
parentb96a8b0b5be40f9bc9e45819f14b32ea9cdce73f (diff)
downloadlinux-fbde57d2d2995375305917b3c944bc861beb84d4.tar.xz
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')
0 files changed, 0 insertions, 0 deletions