[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171027211527.6ebf5da4@vmware.local.home>
Date: Fri, 27 Oct 2017 21:15:27 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
stable <stable@...r.kernel.org>
Subject: Re: [GIT PULL] tracing/samples: Fix creation and deletion of
simple_thread_fn creation
On Fri, 27 Oct 2017 16:59:49 -0700
Linus Torvalds <torvalds@...ux-foundation.org> wrote:
> I'm back home, which means I do full builds, and that in turn shows
> that this was garbage.
Unfortunately, I'm still in Prague, but I just finished my marathon of
presentations.
>
> On Tue, Oct 17, 2017 at 2:21 PM, Steven Rostedt <rostedt@...dmis.org> wrote:
> >
> > Please pull the latest trace-v4.14-rc3 tree, which can be found at:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
> > trace-v4.14-rc3
>
> This causes a compiler warning, for a very valid reason:
>
> > +static bool simple_thread_cnt;
> >
> > int foo_bar_reg(void)
> > {
> > + mutex_lock(&thread_mutex);
> > + if (simple_thread_cnt++)
> > + goto out;
>
> Yeah., take a closer look at that. It's complete and utter BS.
>
> Please send a fix asap, or I'll just revert.
Yes, it is. Being sample code it doesn't get tested in my test suite (I
should fix that) and this is the first pull request I sent you that
didn't go through the testing (because my test suit wouldn't even test
it).
I'll write up a fix on the plane home on Saturday. Expect something by
Sunday.
Sorry about that. :-/
-- Steve
Powered by blists - more mailing lists