* [GIT PULL] rv changes for v7.4 (for-next)
@ 2026-10-01 12:12 Gabriele Monaco
0 siblings, 0 replies; only message in thread
From: Gabriele Monaco @ 2026-10-01 12:12 UTC (permalink / raw)
To: Steven Rostedt, linux-kernel; +Cc: linux-trace-kernel, Nam Cao, Wen Yang
Steve,
The following changes since commit fd73f4a6659897191fa0d40695fe370925dd3780:
Linux 7.3-rc3 (2026-09-13 14:38:02 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gmonaco/linux.git rv-7.4-next
for you to fetch changes up to 5e9bdf2924c9041ff1520b528db6104626e9ef41:
rv/rtapp/wakeup: Use "rv_this" the rv_monitor variable (2026-10-01 13:59:46 +0200)
----------------------------------------------------------------
rv changes for v7.4 (for-next)
Summary of changes:
- Improve lockdep annotation for reactors
Reactors are not supposed to take locks, so they fit the LD_WAIT_FREE
lockdep class. However, reactors may run in preemptible context and
if the preempting code (tick or simply the scheduler) takes locks, we
see a lockdep splat. Switch to LD_WAIT_SPIN to avoid the splat while
documenting that reactors should still not take locks.
- Add KUnit tests for reactors
Add KUnit test cases to validate registration and reaction, this
requires exporting some symbols and other minor fixes.
- Use the right rv_this variable in the wakeup monitor
LTL monitors were updated to use the generic rv_this static variable
but this change wasn't propagated to the newly introduced wakeup
monitor. This broke reactors for the monitor: update the it.
----------------------------------------------------------------
Nam Cao (1):
rv/rtapp/wakeup: Use "rv_this" the rv_monitor variable
Wen Yang (4):
rv: Use LD_WAIT_SPIN as the reactor lockdep wait type
rv: Propagate rv_register_reactor() error from reactor init
rv: Export rv_register_reactor() and rv_unregister_reactor()
rv: Add KUnit tests for reactor registration and dispatch
kernel/trace/rv/Kconfig | 12 ++++
kernel/trace/rv/Makefile | 1 +
kernel/trace/rv/monitors/wakeup/wakeup.c | 6 +-
kernel/trace/rv/reactor_panic.c | 3 +-
kernel/trace/rv/reactor_printk.c | 3 +-
kernel/trace/rv/rv_reactors.c | 12 +++-
kernel/trace/rv/rv_reactors_kunit.c | 111 +++++++++++++++++++++++++++++++
7 files changed, 140 insertions(+), 8 deletions(-)
create mode 100644 kernel/trace/rv/rv_reactors_kunit.c
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Nam Cao <namcao@linutronix.de>
Cc: Wen Yang <wen.yang@linux.dev>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-01 12:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-01 12:12 [GIT PULL] rv changes for v7.4 (for-next) Gabriele Monaco
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®