The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH RFC 0/4] Hazard-pointer torture test
@ 2026-05-07 16:50 Paul E. McKenney
  2026-05-07 16:51 ` [PATCH RFC 1/4] torture: Add a hazptrtorture.c " Paul E. McKenney
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Paul E. McKenney @ 2026-05-07 16:50 UTC (permalink / raw)
  To: rcu; +Cc: linux-kernel, kernel-team, rostedt, Mathieu Desnoyers

Hello!

This RFC series is the beginnings of a hazard-pointer torture-test module.

1.	Add a hazptrtorture.c torture test.

2.	Add testing of on-stack hazptr_ctx structures.

3.	Add microsecond-scale sleep in readers.

4.	Enable system-independent CPU overcommit.

Future extensions include cross-kthread and cross-context hazard-pointer
acquisition/release, along with who knows what all else.

						Thanx, Paul

------------------------------------------------------------------------

 b/include/linux/torture.h                                            |    2 
 b/kernel/rcu/Kconfig.debug                                           |   12 
 b/kernel/rcu/Makefile                                                |    1 
 b/kernel/rcu/hazptrtorture.c                                         |  684 ++++++++++
 b/kernel/rcu/update.c                                                |    3 
 b/tools/testing/selftests/rcutorture/bin/kvm.sh                      |    6 
 b/tools/testing/selftests/rcutorture/configs/hazptr/CFLIST           |    2 
 b/tools/testing/selftests/rcutorture/configs/hazptr/CFcommon         |    2 
 b/tools/testing/selftests/rcutorture/configs/hazptr/NOPREEMPT        |   17 
 b/tools/testing/selftests/rcutorture/configs/hazptr/NOPREEMPT.boot   |    1 
 b/tools/testing/selftests/rcutorture/configs/hazptr/PREEMPT          |   14 
 b/tools/testing/selftests/rcutorture/configs/hazptr/ver_functions.sh |   40 
 kernel/rcu/hazptrtorture.c                                           |   55 
 13 files changed, 823 insertions(+), 16 deletions(-)

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

end of thread, other threads:[~2026-05-07 16:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-07 16:50 [PATCH RFC 0/4] Hazard-pointer torture test Paul E. McKenney
2026-05-07 16:51 ` [PATCH RFC 1/4] torture: Add a hazptrtorture.c " Paul E. McKenney
2026-05-07 16:51 ` [PATCH RFC 2/4] hazptrtorture: Add testing of on-stack hazptr_ctx structures Paul E. McKenney
2026-05-07 16:51 ` [PATCH RFC 3/4] hazptrtorture: Add microsecond-scale sleep in readers Paul E. McKenney
2026-05-07 16:51 ` [PATCH RFC 4/4] hazptrtorture: Enable system-independent CPU overcommit 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