lkml.org 
[lkml]   [2009]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ltt-dev] [RFC git tree] Userspace RCU (urcu) for Linux (repost)


On Thu, 12 Feb 2009, Paul E. McKenney wrote:
>
> In other words, you are arguing for using ACCESS_ONCE() in the loops,
> but keeping the old ACCESS_ONCE() definition, and declaring BF hardware
> broken?

Well, I _also_ argue that if you have a busy loop, you'd better have a
cpu_relax() in there somewhere anyway. If you don't, you have a bug.

So I think the BF approach is "borderline broken", but I think it should
work, if BF just has whatever appropriate cache flush in its cpu_relax.

Linus


\
 
 \ /
  Last update: 2009-02-12 22:19    [W:0.188 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site