Re: [PATCH 3/3] percpu: Remove inert tracepoint in __init code
From: Josh Poimboeuf
Date: Fri Feb 16 2018 - 07:52:22 EST
On Fri, Feb 16, 2018 at 10:02:33AM +0100, Ingo Molnar wrote:
>
> * 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?
Yes, I'm working on a v2.
--
Josh