Messages in this thread | | | Date | Fri, 4 Feb 2022 16:21:13 -0800 | From | "Paul E. McKenney" <> | Subject | [PATCH rcu 0/2] RCU tasks updates, possibly for v5.18 |
| |
Hello!
This series provides a couple of updates to the RCU Tasks flavors.
1. rcu-tasks: Use order_base_2() instead of ilog2(). This spreads CPUs over queues more evenly.
2. rcu-tasks: Set ->percpu_enqueue_shift to zero upon contention. The current mainline series reduces contention by at most a factor of two. This patch gains at least another factor of eight during times of high update-side traffic.
Thanx, Paul
------------------------------------------------------------------------
b/kernel/rcu/tasks.h | 6 +++--- kernel/rcu/tasks.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
| |