* memory fence.
@ 2003-12-08 22:01 Umut Aymakoglu
2003-12-08 22:09 ` Jesse Barnes
2003-12-08 23:41 ` Boehm, Hans
0 siblings, 2 replies; 3+ messages in thread
From: Umut Aymakoglu @ 2003-12-08 22:01 UTC (permalink / raw)
To: linux-ia64
Hi -
Does anybody know the equivalance of _Asm_mf() (HP ia64) on Linux ia64?
thanks,
Umut
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: memory fence.
2003-12-08 22:01 memory fence Umut Aymakoglu
@ 2003-12-08 22:09 ` Jesse Barnes
2003-12-08 23:41 ` Boehm, Hans
1 sibling, 0 replies; 3+ messages in thread
From: Jesse Barnes @ 2003-12-08 22:09 UTC (permalink / raw)
To: linux-ia64
For the kernel, it's usually just mb(), but there are a few different
kinds of memory fences.
Jesse
On Mon, Dec 08, 2003 at 02:01:54PM -0800, Umut Aymakoglu wrote:
>
>
>
>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: memory fence.
2003-12-08 22:01 memory fence Umut Aymakoglu
2003-12-08 22:09 ` Jesse Barnes
@ 2003-12-08 23:41 ` Boehm, Hans
1 sibling, 0 replies; 3+ messages in thread
From: Boehm, Hans @ 2003-12-08 23:41 UTC (permalink / raw)
To: linux-ia64
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-08 23:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-08 22:01 memory fence Umut Aymakoglu
2003-12-08 22:09 ` Jesse Barnes
2003-12-08 23:41 ` Boehm, Hans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox