[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200929111903.3e3e8c23@gandalf.local.home>
Date: Tue, 29 Sep 2020 11:19:03 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Paul McKenney <paulmck@...nel.org>, linux-kernel@...r.kernel.org,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...nel.org>, kim.phillips@....com
Subject: Re: [PATCH] rcu,ftrace: Fix ftrace recursion
On Tue, 29 Sep 2020 16:49:53 +0200
Peter Zijlstra <peterz@...radead.org> wrote:
> On Tue, Sep 29, 2020 at 10:36:20AM -0400, Steven Rostedt wrote:
>
> > > +notrace bool rcu_is_watching(void)
> > > {
> > > bool ret;
> > >
> >
> > I think the patch I suggested is more suitable.
>
> Both, with only your patch we'd still take the pointless mcount call,
> which is then pure overhead.
Yep, and I stated the same thing to Paul ;-)
-- Steve
Powered by blists - more mailing lists