lkml.org 
[lkml]   [2005]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: memory_barrier
From
Date
    Bart> Hi, Is there any reason why __memory_barrier() is still
Bart> referenced in the kernel source?

Bart> grep -r memory_barrier gave the following back, which at
Bart> first seems to suggest barrier() is defined using some
Bart> phantom __memory_barrier(), quite deceiving...

Notice that it's used in <linux/compiler-intel.h> -- the Intel
compiler has an intrinsic called __memory_barrier(). So the
definition of barrier() using this intrinsic is entirely correct and
appropriate.

- R.
-
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-04-09 22:45    [W:0.328 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site