Re: [PATCH] tracing/osnoise: Force quiescent states while tracing

From: Daniel Bristot de Oliveira
Date: Tue Mar 01 2022 - 12:30:15 EST


On 3/1/22 11:59, Nicolas Saenz Julienne wrote:
>> I wonder if this is similar to what we have in trace_benchmark(). Would
>> using: cond_resched_tasks_rcu_qs() work for you?
> IIUC this only affects tasks_rcu, and doesn't help with regular RCU. We already
> call cond_resched_tasks_rcu_qs() in osnoise when necesary, actually it was
> introduced by you. :)

I tried using cond_resched_tasks_rcu_qs() to solve the same problem before, it
did not work.

-- Daniel