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

2023-09-29 Thread Clément Léger
On 29/09/2023 17:06, Steven Rostedt wrote: > On Fri, 29 Sep 2023 16:13:48 +0200 > 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 c

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

2023-09-29 Thread Steven Rostedt
On Fri, 29 Sep 2023 16:13:48 +0200 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] tracing: relax trace_event_eval_update() execution with schedule()

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