Fix issues that were reported by bots or visible only after integration: * Make sure timers are always terminated and waited for when disabling the monitor or when the target terminates * Run per-cpu monitors with migration disabled since preemption is now enabled from tracepoints * Fix a wrong __user specifier in a helper function * Other cleanup and concurrency issues
Cc: Nam Cao <[email protected]> Cc: Wen Yang <[email protected]> Cc: [email protected] Gabriele Monaco (9): rv: Fix __user specifier usage in extract_params() rv: Fix read_lock scope in per-task DA cleanup rv: Reset per-task DA monitors before releasing the slot rv: Prevent task migration while handling per-CPU events rv: Ensure all pending probes terminate on per-obj monitor destroy rv: Ensure synchronous cleanup for HA monitors rv: Do not rely on clean monitor when initialising HA rv: Add automatic cleanup handlers for per-task HA monitors rv: Mandate deallocation for per-obj monitors include/rv/da_monitor.h | 66 ++++++++++--- include/rv/ha_monitor.h | 93 ++++++++++++++++++- kernel/trace/rv/monitors/deadline/deadline.h | 8 +- kernel/trace/rv/monitors/nomiss/nomiss.c | 4 +- kernel/trace/rv/monitors/opid/opid.c | 4 +- kernel/trace/rv/monitors/stall/stall.c | 4 +- .../rvgen/rvgen/templates/dot2k/main.c | 4 +- 7 files changed, 157 insertions(+), 26 deletions(-) base-commit: 6d35786de28116ecf78797a62b84e6bf3c45aa5a -- 2.54.0
