Re: [PATCH v2] tracing: relax trace_event_eval_update() execution with cond_resched()

2023-09-29 Thread Atish Kumar Patra
On Fri, Sep 29, 2023 at 12:17 PM Clément Léger wrote: > > When kernel is compiled without preemption, the eval_map_work_func() > (which calls trace_event_eval_update()) will not be preempted up to its > complete execution. This can actually cause a problem since if another > CPU call stop_machine(

[PATCH v2] tracing: relax trace_event_eval_update() execution with cond_resched()

2023-09-29 Thread Clément Léger
When kernel is compiled without preemption, the eval_map_work_func() (which calls trace_event_eval_update()) will not be preempted up to its complete execution. This can actually cause a problem since if another CPU call stop_machine(), the call will have to wait for the eval_map_work_func() functi