Re: [PATCH V9 01/16] rv: Add Runtime Verification (RV) interface

From: Steven Rostedt
Date: Sun Jul 31 2022 - 12:48:41 EST


On Sun, 31 Jul 2022 17:56:27 +0200
Daniel Bristot de Oliveira <bristot@xxxxxxxxxx> wrote:

> > Yeah, this is not that clear from my above words expression. I said the return
> > value of da_monitor_init_*() will be 0, but it is not right. Global and per-cpu
> > monitor will return 0, per-task monitor may return a positive value when the
> > slot is equal or greater than RV_PER_TASK_MONITOR_INIT(how possible this will
> > happen I do know yet). This is from reading the current code implementation.
> > I just want to say that there may be a bug here.
>
> goto my previous email;

If you increment RV_PER_TASK_MONITORS to 2, I believe Tao is correct.

-- Steve