rv: Add automatic cleanup handlers for per-task HA monitorsHybrid automata monitors may start timers, depending on the model, thesemay remain active on an exiting task and cause false positives or
rv: Add automatic cleanup handlers for per-task HA monitorsHybrid automata monitors may start timers, depending on the model, thesemay remain active on an exiting task and cause false positives or evenaccess freed memory.Add an enable/disable hook in the HA code, currently only populated bythe per-task handler for registration and deregistration.This hooks to the sched_process_exit event and ensures the timer isstopped for every exiting task. The handler is enabled automatically butmay be disabled, for instance if the monitor uses the event for anotherpurpose (but should still manually ensure timers are stopped).Fixes: f5587d1b6ec9 ("rv: Add Hybrid Automata monitor type")Reviewed-by: Nam Cao <namcao@linutronix.de>Link: https://lore.kernel.org/r/20260601153840.124372-8-gmonaco@redhat.comSigned-off-by: Gabriele Monaco <gmonaco@redhat.com>
show more ...
rv: Add sample hybrid monitor stallAdd a sample monitor to showcase hybrid/timed automata.The stall monitor identifies tasks stalled for longer than a thresholdand reacts when that happens.Revi
rv: Add sample hybrid monitor stallAdd a sample monitor to showcase hybrid/timed automata.The stall monitor identifies tasks stalled for longer than a thresholdand reacts when that happens.Reviewed-by: Nam Cao <namcao@linutronix.de>Link: https://lore.kernel.org/r/20260330111010.153663-7-gmonaco@redhat.comSigned-off-by: Gabriele Monaco <gmonaco@redhat.com>