Re: [PATCH v4 1/4] ftrace: Implement fs notification for tracing_max_latency

From: Steven Rostedt
Date: Wed May 22 2019 - 10:46:16 EST


On Wed, 22 May 2019 16:35:45 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> > @@ -284,6 +285,7 @@ static void do_idle(void)
> > smp_mb__after_atomic();
> >
> > sched_ttwu_pending();
> > + /* schedule_idle() will call trace_enable_fsnotify() */
> > schedule_idle();
> >
> > if (unlikely(klp_patch_pending(current)))
>
> I still hate this.. why are we doing this? We already have this
> stop_critical_timings() nonsense and are now adding more gunk.

I was thinking that this can possibly be added in the
stop_critical_timings() as that is probably where this is needed
anyway.

-- Steve