This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PATCH: Always use ll/sc for mips
From: Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: PATCH: Always use ll/sc for mips
Date: Thu, 4 Jul 2002 15:57:26 +0200
> No, Sony's ABI isn't MP proof and will break silently on MP systems. As
> such I can't consider it anything else but a hack. sysmips(MIPS_ATOMIC_SET,
> ...) and ll/sc however are MP proof.
We can support MP with few modifications.
On MP system, the pseudo-device will provide ll/sc if CPU support
it. Otherwise, the pseudo-device will be failed to open. In this
case, sysmips() will be used as last resort in libc.
---
Hiroyuki Machida
Sony Corp.