lkml.org 
[lkml]   [2003]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: gcc-3.2 breaks rmap on s390x
On Thu, 3 Apr 2003, Rik van Riel wrote:

> On Thu, 3 Apr 2003, Pete Zaitcev wrote:
>
> > cpu_relax();
> > + barrier();
>
> Gah, now I look over the source I see that cpu_relax() is always
> used together with barrier() ...
>
> I guess the best long-term thing (2.5) would be to build a barrier
> into cpu_relax(), but for 2.4-rmap I'll just add your patch.

cpu_relax() is a barrier on Intel ( pause ). It's just a coincidence IMHO.



- Davide

-
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: 2005-03-22 13:34    [W:1.194 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site