lkml.org 
[lkml]   [2011]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/2] trace_events_filter: use rcu_assign_pointer() when setting ftrace_event_call->filter
From
Date
On Wed, 2011-11-23 at 08:06 -0800, Tejun Heo wrote:

> So, synchronized_sched() being called after isn't relevant. We want
> smp_wmb() between data structure initialization and assignment of the
> new pointer.

Ah, you're saying that we need to guarantee that the allocated filter is
seen before we update the call->filter to point to it. OK, fair enough,
this does look like a bug fix.

Is it big enough to be considered for stable?

-- Steve




\
 
 \ /
  Last update: 2011-11-23 18:09    [W:2.306 / U:1.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site