lkml.org 
[lkml]   [2006]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 38 of 39] IB/ipath - More changes to support InfiniPath on PowerPC 970 systems
On Thu, 6 Jul 2006, Benjamin Herrenschmidt wrote:

| On Thu, 2006-07-06 at 16:34 -0700, Bryan O'Sullivan wrote:
| > On Fri, 2006-07-07 at 08:37 +1000, Benjamin Herrenschmidt wrote:
| >
| > > > +int ipath_unordered_wc(void)
| > > > +{
| > > > + return 1;
| > > > +}
| > >
| > > How is the above providing any kind of serialisation ?
| >
| > It's not intended to; it tells the *caller* whether to do it.
|
| Ah ok. What barrier do you use for that ?

on x86_64, the sfence instruction, on others, wmb(), in the kernel. In user-land,
pretty much the same underlying assembly instructions.

Dave Olson
olson@unixfolk.com
http://www.unixfolk.com/dave
-
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-07-13 08:03    [W:0.053 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site