Re: [patch added to 3.12-stable] tracing: Fix check for cpu online when event is disabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 14 Mar 2016 17:19:08 +0000
Luis Henriques <luis.henriques@xxxxxxxxxxxxx> wrote:

> On Mon, Mar 14, 2016 at 02:16:44PM +0100, Jiri Slaby wrote:
> > From: "Steven Rostedt (Red Hat)" <rostedt@xxxxxxxxxxx>
> > 
> > This patch has been added to the 3.12 stable tree. If you have any
> > objections, please let us know.
> >  
> 
> Please note that this patch was tagged for stable 3.18+.
> 

> > 
> > commit dc17147de328a74bbdee67c1bf37d2f1992de756 upstream.
> > 
> > Commit f37755490fe9b ("tracepoints: Do not trace when cpu is offline") added
> > a check to make sure that tracepoints only get called when the cpu is
> > online, as it uses rcu_read_lock_sched() for protection.
> > 
> > Commit 3a630178fd5f3 ("tracing: generate RCU warnings even when tracepoints
> > are disabled") added lockdep checks (including rcu checks) for events that
> > are not enabled to catch possible RCU issues that would only be triggered if
> > a trace event was enabled. Commit f37755490fe9b only stopped the warnings
> > when the trace event was enabled but did not prevent warnings if the trace
> > event was called when disabled.

It doesn't hurt to backport this patch, and may be necessary if
3a630178fd5f3 was backported.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]