Re: ftrace module init race/bug

From: Steven Rostedt
Date: Mon Nov 07 2016 - 15:50:54 EST


On Mon, 7 Nov 2016 12:35:42 -0800
Alexei Starovoitov <alexei.starovoitov@xxxxxxxxx> wrote:


> > Actually, this may be correct. I need to audit the other
> > do_for_each_ftrace_rec() loops.
>
> yep, the __ftrace_hash_rec_update() has !FTRACE_FL_DISABLED check,
> so I thought ftrace_shutdown() may need it too.
> Should I send the above patch with proper sob?

Yeah, go ahead.

-- Steve