Re: PATCH: Always use ll/sc for mips

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






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.


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux