Re: [PATCH 17/22 -v7] mcount tracer for wakeup latency timings.

From: Steven Rostedt
Date: Wed Jan 30 2008 - 08:18:44 EST



On Wed, 30 Jan 2008, Peter Zijlstra wrote:

>
> On Tue, 2008-01-29 at 22:15 -0500, Steven Rostedt wrote:
>
> > +static void notrace __wakeup_reset(struct tracing_trace *tr)
[...]
> > +
> > + wakeup_task = NULL;
> > +
> > + /*
> > + * Don't let the trace_enabled = 1 show up before
> > + * the wakeup_task is reset.
> > + */
> > + smp_wmb();
> > +}
>
> Another un-balanced barrier.


This one is probably me being paranoid, but even so, it should have a
pair. Will fix.

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/