public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH rcu 0/2] RCU tasks updates, possibly for v5.18
@ 2022-02-05  0:21 Paul E. McKenney
  2022-02-05  0:21 ` [PATCH rcu 1/2] rcu-tasks: Use order_base_2() instead of ilog2() Paul E. McKenney
  2022-02-05  0:21 ` [PATCH rcu 2/2] rcu-tasks: Set ->percpu_enqueue_shift to zero upon contention Paul E. McKenney
  0 siblings, 2 replies; 3+ messages in thread
From: Paul E. McKenney @ 2022-02-05  0:21 UTC (permalink / raw)
  To: rcu; +Cc: linux-kernel, kernel-team, rostedt

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-05  0:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-05  0:21 [PATCH rcu 0/2] RCU tasks updates, possibly for v5.18 Paul E. McKenney
2022-02-05  0:21 ` [PATCH rcu 1/2] rcu-tasks: Use order_base_2() instead of ilog2() Paul E. McKenney
2022-02-05  0:21 ` [PATCH rcu 2/2] rcu-tasks: Set ->percpu_enqueue_shift to zero upon contention Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox