diff options
| author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-10-14 07:51:58 +0200 |
|---|---|---|
| committer | Gabriele Monaco <gmonaco@redhat.com> | 2025-11-11 13:18:56 +0100 |
| commit | 69d8895cb9a9f6450374577af8584c2e21cb5a9f (patch) | |
| tree | 4e42b12644783f188db4336088a34bad10b1c0c0 /tools/lib/python/kdoc/parse_data_structs.py | |
| parent | 68f63cea46d3a410a41d9ab74d338038a22bc2ad (diff) | |
rv: Add explicit lockdep context for reactors
Reactors can be called from any context through tracepoints.
When developing reactors care needs to be taken to only call APIs which
are safe. As the tracepoints used during testing may not actually be
called from restrictive contexts lockdep may not be helpful.
Add explicit overrides to help lockdep find invalid code patterns.
The usage of LD_WAIT_FREE will trigger lockdep warnings in the panic
reactor. These are indeed valid warnings but they are out of scope for
RV and will instead be fixed by the printk subsystem.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20251014-rv-lockdep-v1-3-0b9e51919ea8@linutronix.de
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
