lkml.org 
[lkml]   [2006]   [Nov]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: PATCH? hrtimer_wakeup: fix a theoretical race wrt rt_mutex_slowlock()
FromBenjamin Herrenschmidt <>
DateTue, 07 Nov 2006 07:53:53 +1100
On Mon, 2006-11-06 at 07:35 -0500, Steven Rostedt wrote:

> It is relevant.  In powerpc, can one write happen before another write?
> 
> 
>   x = 1;
>   barrier();  (only compiler barrier)
>   b = 2;
> 
> 
> And have CPU 2 see b=2 before seeing x=1?

Yes. Definitely.

> If so, then I guess this is indeed a bug on powerpc.

Ben.


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

\
 
 \ /
  Last update: 2006-11-06 21:03    [from the cache]
©2003-2008