lkml.org 
[lkml]   [2011]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] trace_events_filter: use rcu_assign_pointer() when setting ftrace_event_call->filter
On Wed, Nov 23, 2011 at 08:06:53AM -0800, Tejun Heo wrote:
> otherwise, it may fetch the old values from before the new area is
> initialized on archs where data dependency barrier isn't noop.

I think this can be a problem on archs where dd barrier is noop but
wmb is not. dd barrier is implied on every read access but nothing
guarantees the updating CPU sends out write for the pointer assignment
before initialization of the new area.

Thanks.

--
tejun


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