aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2021-11-23 01:37:03 +0100
committerPaul E. McKenney <[email protected]>2021-12-09 11:34:07 -0800
commit2ebc45c44c4f3cc4c757430b2409ece4f976892e (patch)
tree0c9e06441054f59d678ec2ca7e81e475bfc1c954 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent0598a4d4429c0a952ac0e99e5280354cf4ccc01c (diff)
rcu/nocb: Remove rcu_node structure from nocb list when de-offloaded
The nocb_gp_wait() function iterates over all CPUs in its group, including even those CPUs that have been de-offloaded. This is of course suboptimal, especially if none of the CPUs within the group are currently offloaded. This will become even more of a problem once a nocb kthread is created for all possible CPUs. Therefore use a standard double linked list to link all the offloaded rcu_data structures and safely add or delete these structure as we offload or de-offload them, respectively. Reviewed-by: Neeraj Upadhyay <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Boqun Feng <[email protected]> Cc: Uladzislau Rezki <[email protected]> Cc: Josh Triplett <[email protected]> Cc: Joel Fernandes <[email protected]> Tested-by: Juri Lelli <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions