Re: gcc-3.2 breaks rmap on s390x

From: Davide Libenzi (davidel@xmailserver.org)
Date: Thu Apr 03 2003 - 14:00:02 EST


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/



This archive was generated by hypermail 2b29 : Mon Apr 07 2003 - 22:00:20 EST