All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Allow call_{s,}rcu() from NMI and BPF environments
@ 2026-09-19  0:32 Paul E. McKenney
  2026-09-19  0:32 ` [PATCH 1/7] rcu: Make call_rcu() safe to call from any context Paul E. McKenney
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Paul E. McKenney @ 2026-09-19  0:32 UTC (permalink / raw)
  To: rcu; +Cc: linux-kernel, kernel-team, rostedt

Hello!

This series enables call_rcu() and call_srcu() to be invoked in NMI
handlers and from BPF programs attached to these functions.  The
individual patches are as follows:

1.	Make call_rcu() safe to call from any context, courtesy of
	Puranjay Mohan.

2.	Make Tiny call_rcu() safe to call from any context, courtesy of
	Puranjay Mohan.

3.	Make call_srcu() safe to call from any context, courtesy of
	Puranjay Mohan.

4.	Make Tiny call_srcu() safe to call from any context, courtesy
	of Puranjay Mohan.

5.	Disable fragile readers during overload testing.

6.	Exercise ->call() from NMI context, courtesy of Puranjay Mohan.

7.	Add a call_srcu() re-entry reproducer, courtesy of Puranjay Mohan.

						Thanx, Paul

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

 b/Documentation/admin-guide/kernel-parameters.txt      |    7 
 b/include/linux/srcutiny.h                             |   12 -
 b/include/linux/srcutree.h                             |    4 
 b/kernel/rcu/Kconfig                                   |    6 
 b/kernel/rcu/rcu.h                                     |   11 +
 b/kernel/rcu/rcutorture.c                              |    8 
 b/kernel/rcu/srcutiny.c                                |   93 ++++++++-
 b/kernel/rcu/srcutree.c                                |  170 ++++++++++++++++-
 b/kernel/rcu/tiny.c                                    |  127 ++++++++++--
 b/kernel/rcu/tree.c                                    |  131 ++++++++++++-
 b/kernel/rcu/tree.h                                    |    6 
 b/tools/testing/selftests/bpf/prog_tests/rcu_reentry.c |   93 +++++++++
 b/tools/testing/selftests/bpf/progs/rcu_reentry.c      |   51 +++++
 kernel/rcu/rcu.h                                       |    3 
 kernel/rcu/rcutorture.c                                |  150 ++++++++++++++-
 kernel/rcu/tree.c                                      |    2 
 16 files changed, 824 insertions(+), 50 deletions(-)

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

end of thread, other threads:[~2026-09-21 18:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-19  0:32 [PATCH 0/7] Allow call_{s,}rcu() from NMI and BPF environments Paul E. McKenney
2026-09-19  0:32 ` [PATCH 1/7] rcu: Make call_rcu() safe to call from any context Paul E. McKenney
2026-09-19 14:07   ` Boqun Feng
2026-09-21 18:12     ` Puranjay Mohan
2026-09-21 18:30       ` Boqun Feng
2026-09-21 18:50         ` Paul E. McKenney
2026-09-19  0:32 ` [PATCH 2/7] rcu: Make Tiny " Paul E. McKenney
2026-09-19  0:32 ` [PATCH 3/7] srcu: Make call_srcu() " Paul E. McKenney
2026-09-19  0:32 ` [PATCH 4/7] srcu: Make Tiny " Paul E. McKenney
2026-09-19  0:32 ` [PATCH 5/7] rcutorture: Disable fragile readers during overload testing Paul E. McKenney
2026-09-19  0:32 ` [PATCH 6/7] rcutorture: Exercise ->call() from NMI context Paul E. McKenney
2026-09-19  0:32 ` [PATCH 7/7] selftests/bpf: Add a call_srcu() re-entry reproducer Paul E. McKenney

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.