aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2023-03-29 18:02:03 +0200
committerPaul E. McKenney <[email protected]>2023-05-11 13:44:50 -0700
commitfbde57d2d2995375305917b3c944bc861beb84d4 (patch)
tree18e06559d20a7a78fd716db3e59ffbc5c0cdc6e7 /lib/mpi/mpi-sub-ui.c
parentb96a8b0b5be40f9bc9e45819f14b32ea9cdce73f (diff)
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 <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions