You might want to look at the atomic operations package that we distribute along with qprof (http://www.hpl.hp.com/research/linux/qprof/). The most recent released package is at http://www.hpl.hp.com/research/linux/qprof/download/ao-0.4.tar.gz Its goal is to implement memory barriers and atomic operations with a portable interface, while allowing you to describe exactly the functionality you need, so that you can avoid unnecessary run-time costs when porting between architectures. It currently supports X86, IA64, and PA-RISC Linux reasonably well, and has the beginnings of ports to various other architectures. Additional ports are always welcome. And the package is designed to make the machine-dependent piece as small as possible, typically on the order of 100 lines. [Caution: The current version installs as "ao", which is now known to conflict with an audio library. The name will be changed to atomic_ops in the next release, which is expected to happen RSN. In the meantime please be careful about installing it in /usr.] Hans > -----Original Message----- > From: linux-ia64-owner@vger.kernel.org > [mailto:linux-ia64-owner@vger.kernel.org]On Behalf Of Umut Aymakoglu > Sent: Monday, December 08, 2003 2:02 PM > To: linux-ia64@vger.kernel.org > Subject: memory fence. > > > > > > > Hi - > Does anybody know the equivalance of _Asm_mf() (HP ia64) on > Linux ia64? > > thanks, > Umut > > - > To unsubscribe from this list: send the line "unsubscribe > linux-ia64" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Mon Dec 8 18:49:18 2003
This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:20 EST