On Tue, 2026-05-19 at 09:49 +0200, Nam Cao wrote:
> diff --git a/kernel/trace/rv/monitors/sleep/sleep.c
> b/kernel/trace/rv/monitors/sleep/sleep.c
> index 0a36f5519e6b..e01ac56b3f4a 100644
> --- a/kernel/trace/rv/monitors/sleep/sleep.c
> +++ b/kernel/trace/rv/monitors/sleep/sleep.c
> @@ -43,9 +43,7 @@ static void ltl_atoms_init(struct task_struct *task, struct
> ltl_monitor *mon, bo
>       ltl_atom_set(mon, LTL_WOKEN_BY_EQUAL_OR_HIGHER_PRIO, false);
>  
>       if (task_creation) {
> -             ltl_atom_set(mon, LTL_KTHREAD_SHOULD_STOP, false);

Was it intentional to remove this too? It seems to me now it's cleared
only for existing user threads.

Aren't we sure new kthreads aren't stopping?

> -             ltl_atom_set(mon, LTL_NANOSLEEP_CLOCK_MONOTONIC, false);
> -             ltl_atom_set(mon, LTL_NANOSLEEP_CLOCK_TAI, false);
> +             ltl_atom_set(mon, LTL_NANOSLEEP_CLOCK_REALTIME, false);
>               ltl_atom_set(mon, LTL_NANOSLEEP_TIMER_ABSTIME, false);
>               ltl_atom_set(mon, LTL_CLOCK_NANOSLEEP, false);
>               ltl_atom_set(mon, LTL_FUTEX_WAIT, false);

You missed removing a couple of these in the next branch, the monitor
doesn't build.

Thanks,
Gabriele


Reply via email to