lkml.org 
[lkml]   [2011]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: call_function_many: fix list delete vs add race
From
Date
On Tue, 2011-02-01 at 12:43 +1000, Linus Torvalds wrote:
> On Tue, Feb 1, 2011 at 12:18 PM, Paul E. McKenney
> <paulmck@linux.vnet.ibm.com> wrote:
> >
> > Documentation/memory-barriers.txt specifies this.
>
> Good, so it really is documented, with both cases explicitly mentioned.
>
> That said, I do think that if your memory ordering is much weaker than
> x86, you are going to see bugs that most testers don't see, and it
> simply might not be worth it.

Allright. The way we do it on power is stores won't pass the unlock
either way (lwsync). Some loads might migrate up tho.

Cheers,
Ben.



\
 
 \ /
  Last update: 2011-02-01 07:19    [W:0.067 / U:15.028 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site