From: sashiko-bot@kernel.org
To: "Peng Huang" <penghuang@google.com>,
"Peter Zijlstra" <peterz@infradead.org>,
"Ingo Molnar" <mingo@redhat.com>, "Will Deacon" <will@kernel.org>,
"Boqun Feng" <boqun@kernel.org>,
"Juri Lelli" <juri.lelli@redhat.com>,
"Vincent Guittot" <vincent.guittot@linaro.org>
Cc: "Waiman Long" <longman@redhat.com>,
"Dietmar Eggemann" <dietmar.eggemann@arm.com>,
"Steven Rostedt" <rostedt@goodmis.org>,
"Ben Segall" <bsegall@google.com>, "Mel Gorman" <mgorman@suse.de>,
"Valentin Schneider" <vschneid@redhat.com>,
"K Prateek Nayak" <kprateek.nayak@amd.com>,
"John Stultz" <jstultz@google.com>,
"Suren Baghdasaryan" <surenb@google.com>,
linux-mm@kvack.org, "Andrew Morton" <akpm@linux-foundation.org>
Subject: Re: [RFC PATCH v2 6/6] locking/rwsem: Add KUnit tests for scheduler priority boost
Date: Wed, 02 Dec 2026 06:28:08 +0000 [thread overview]
Message-ID: <sashiko-outbox-244972@kernel.org> (raw)
In-Reply-To: <20261201062738.1047159-7-penghuang@google.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] locking/rwsem: undocumented rwsem_sched_boost_test.benchmark
boot parameter
--
commit 2eafe5069456fc0b8496ba17ad66f52680a45431
Author: Peng Huang <penghuang@google.com>
locking/rwsem: Add KUnit tests for scheduler priority boost
This commit adds a KUnit test suite for rw_semaphore per-task hold
tracking and scheduler priority boosting, along with an opt-in fastpath
benchmark.
> diff --git a/kernel/locking/rwsem_sched_boost_test.c b/kernel/locking/rwsem_sched_boost_test.c
> new file mode 100644
> index 0000000000000..e91e8504c5d93
> --- /dev/null
> +++ b/kernel/locking/rwsem_sched_boost_test.c
[ ... ]
> +/* Opt-in benchmark: boot with rwsem_sched_boost_test.benchmark=1. */
> +static bool benchmark;
> +module_param(benchmark, bool, 0444);
> +MODULE_PARM_DESC(benchmark, "Run the uncontended fastpath benchmark");
[Severity: Low]
Should rwsem_sched_boost_test.benchmark be documented in
Documentation/admin-guide/kernel-parameters.txt?
CONFIG_RWSEM_SCHED_BOOST_KUNIT_TEST is a bool Kconfig symbol, so this
code is always built in and the parameter is parsed from the kernel
command line at boot.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261201062738.1047159-1-penghuang@google.com?part=6
next prev parent reply other threads:[~2026-12-02 6:28 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 6:27 [RFC PATCH v2 0/6] rwsem: priority boost for holders blocking high-priority waiters Peng Huang
2026-12-01 6:27 ` [RFC PATCH v2 1/6] locking/rwsem: Track held rwsems per task Peng Huang
2026-12-01 6:27 ` [RFC PATCH v2 2/6] btrfs: untrack i_rwsem before io_uring encoded read completion Peng Huang
2026-12-01 8:40 ` Christoph Hellwig
2026-12-01 14:43 ` Steven Rostedt
2026-12-01 17:41 ` Peng Huang
2026-12-02 6:20 ` Christoph Hellwig
2026-12-01 6:27 ` [RFC PATCH v2 3/6] locking/rwsem: Publish the top waiter priority Peng Huang
2026-12-01 6:27 ` [RFC PATCH v2 4/6] sched: Apply rwsem holder boost to the fair load weight Peng Huang
2026-12-02 6:28 ` sashiko-bot
2026-12-01 6:27 ` [RFC PATCH v2 5/6] sched/fair: Boost rwsem holders with contended high-priority waiters Peng Huang
2026-12-01 6:27 ` [RFC PATCH v2 6/6] locking/rwsem: Add KUnit tests for scheduler priority boost Peng Huang
2026-12-02 6:28 ` sashiko-bot [this message]
2026-12-01 20:43 ` [RFC PATCH v2 0/6] rwsem: priority boost for holders blocking high-priority waiters Kayra Cizmeci
2026-12-01 21:10 ` Peng Huang
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=sashiko-outbox-244972@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=boqun@kernel.org \
--cc=bsegall@google.com \
--cc=dietmar.eggemann@arm.com \
--cc=jstultz@google.com \
--cc=juri.lelli@redhat.com \
--cc=kprateek.nayak@amd.com \
--cc=linux-mm@kvack.org \
--cc=longman@redhat.com \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=penghuang@google.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=surenb@google.com \
--cc=vincent.guittot@linaro.org \
--cc=vschneid@redhat.com \
--cc=will@kernel.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