[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180405074828.27a1f370@gandalf.local.home>
Date: Thu, 5 Apr 2018 07:48:28 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Chris Wilson <chris@...is-wilson.co.uk>
Cc: linux-kernel@...r.kernel.org, intel-gfx@...ts.freedesktop.org
Subject: Re: [PATCH] trace: Fixup logic inversion on setting
trace_global_clock defaults
On Wed, 4 Apr 2018 22:24:50 +0100
Chris Wilson <chris@...is-wilson.co.uk> wrote:
> In commit 932066a15335 ("tracing: Default to using trace_global_clock if
> sched_clock is unstable"), the logic for deciding to override the
> default clock if unstable was reversed from the earlier posting. I was
> trying to reduce the width of the message by using an early return
> rather than a if-block, but reverted back to using the if-block and
> accidentally left the predicate inverted.
Hey, the inversion found some issues with global clock interacting with
lockdep, so it was a good bug to have ;-)
-- Steve
Powered by blists - more mailing lists