All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/7] rcutorture: Rewrite RCU priority-boost test around a CPU-hungry reader
@ 2026-11-16 19:44 Joel Fernandes
  2026-11-16 19:44 ` [PATCH v2 1/7] " Joel Fernandes
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Joel Fernandes @ 2026-11-16 19:44 UTC (permalink / raw)
  To: paulmck, rcu, linux-kernel
  Cc: Sebastian Andrzej Siewior, Frederic Weisbecker, Neeraj Upadhyay,
	Boqun Feng, Joel Fernandes, Josh Triplett, Uladzislau Rezki,
	Steven Rostedt, Mathieu Desnoyers, Lai Jiangshan, Zqiang,
	Davidlohr Bueso, Jonathan Corbet, Shuah Khan, linux-doc,
	linux-kselftest

Hi,

This is v2 of the series that rewrites rcutorture's RCU priority-boost test
around a CPU-hungry reader, so that it neither depends on disabling RT
throttling nor infers boost failure from a grace period merely taking too
long.  The approach is unchanged, see the v1 cover letter for the full
description:

  v1: https://lore.kernel.org/all/20261111213826.2035045-1-joelagnelf@nvidia.com/

Changes since v1 (all from Sebastian's review, thanks!):

 - 1/7: Use kthread_run_on_cpu() for the reader thread.  Range-check
   test_boost_reader_ms in rcu_torture_init(), clamping it to between
   1 ms and test_boost_duration.  Use div64_ul() when printing the
   reader's CPU time.
 - 2/7: Replaced by Sebastian's patch [1], which also removes the
   sysctl_sched_rt_runtime declaration from rcu.h. 
 - 3/7: Drop the sched/sysctl.h include that crept in through a bad fold,
   and also remove rcu_check_boost_fail(), which has no callers left.
 - 4/7-7/7: Unchanged, other than the rebase.
 - Rebased onto the current rcu/next.

Testing: kvm.sh with --duration 30 and --cpus set to all CPUs, on x86 (32
CPUs) and arm64 (80 Neoverse-N1 cores).  Boost failures / boost intervals:

  Scenario      x86           arm64
  TREE03        0 / 220       0 / 217
  BUSTED-BOOST  247 / 252     250 / 251    (expected, boosting disabled)

[1] https://lore.kernel.org/all/20261113-sched_dl-v3-3-a76ffa1cdeee@linutronix.de/

Joel Fernandes (6):
  rcutorture: Rewrite RCU priority-boost test around a CPU-hungry reader
  rcutorture: Remove unused check_boost_failed hook
  doc: Document rcutorture.test_boost_reader_ms
  rcu: Add rcutree.boost_disable to disable priority boosting at runtime
  doc: Document rcutree.boost_disable
  rcutorture: Make BUSTED-BOOST disable RCU priority boosting

Sebastian Andrzej Siewior (1):
  rcutorture: Don't try to disable to RT throttling.

 .../admin-guide/kernel-parameters.txt         |  14 ++
 kernel/rcu/rcu.h                              |   4 -
 kernel/rcu/rcutorture.c                       | 197 +++++++++---------
 kernel/rcu/tree_plugin.h                      |   5 +-
 kernel/rcu/tree_stall.h                       |  57 -----
 .../rcutorture/configs/rcu/BUSTED-BOOST.boot  |   1 +
 6 files changed, 120 insertions(+), 158 deletions(-)


base-commit: e97b821f72876c4760bddc79f0858155e012da8b
-- 
2.54.0


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

end of thread, other threads:[~2026-11-16 19:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-16 19:44 [PATCH v2 0/7] rcutorture: Rewrite RCU priority-boost test around a CPU-hungry reader Joel Fernandes
2026-11-16 19:44 ` [PATCH v2 1/7] " Joel Fernandes
2026-11-16 19:44 ` [PATCH v2 2/7] rcutorture: Don't try to disable to RT throttling Joel Fernandes
2026-11-16 19:44 ` [PATCH v2 3/7] rcutorture: Remove unused check_boost_failed hook Joel Fernandes
2026-11-16 19:44 ` [PATCH v2 4/7] doc: Document rcutorture.test_boost_reader_ms Joel Fernandes
2026-11-16 19:44 ` [PATCH v2 5/7] rcu: Add rcutree.boost_disable to disable priority boosting at runtime Joel Fernandes
2026-11-16 19:44 ` [PATCH v2 6/7] doc: Document rcutree.boost_disable Joel Fernandes
2026-11-16 19:44 ` [PATCH v2 7/7] rcutorture: Make BUSTED-BOOST disable RCU priority boosting Joel Fernandes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.