From: "Paul E. McKenney" <paulmck@kernel.org>
To: rcu@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org
Subject: [PATCH rcu 0/2] RCU tasks updates, possibly for v5.18
Date: Fri, 4 Feb 2022 16:21:13 -0800 [thread overview]
Message-ID: <20220205002113.GA4693@paulmck-ThinkPad-P17-Gen-1> (raw)
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(-)
next reply other threads:[~2022-02-05 0:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-05 0:21 Paul E. McKenney [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220205002113.GA4693@paulmck-ThinkPad-P17-Gen-1 \
--to=paulmck@kernel.org \
--cc=kernel-team@fb.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rcu@vger.kernel.org \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®