Re: [PATCH 3/3] percpu: Remove inert tracepoint in __init code

From: Ingo Molnar
Date: Fri Feb 16 2018 - 04:02:44 EST



* Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:

> On Thu, Feb 15, 2018 at 07:22:46AM -0800, Tejun Heo wrote:
> > On Wed, Feb 14, 2018 at 10:40:43AM -0600, Josh Poimboeuf wrote:
> > > The jump_label code doesn't patch init code, so this tracepoint can
> > > never be enabled. Remove it.
> > >
> > > Cc: Tejun Heo <tj@xxxxxxxxxx>
> > > Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
> >
> > Applied to percpu/for-4.17.
>
> Actually, I think this patch should be dropped. As Jason pointed out,
> tracepoints *can* be enabled at boot time for __init code, so it's
> possible for this tracepoint to be used.

Would it still be useful to have the warning for failed patching?

Thanks,

Ingo