[PATCH rcu 0/2] RCU tasks updates, possibly for v5.18

From: Paul E. McKenney
Date: Fri Feb 04 2022 - 19:21:20 EST


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(-)