| To: | "Ralf Baechle" <ralf@oss.sgi.com> |
|---|---|
| Subject: | Re: Kernel Semaphores |
| From: | "Kevin D. Kissell" <kevink@mips.com> |
| Date: | Mon, 6 Dec 1999 21:33:38 +0100 |
| Cc: | "Linux SGI" <linux@cthulhu.engr.sgi.com> |
| Sender: | owner-linuxmips@oss.sgi.com |
>> To make it work on 32-bit CPUs, I looked at using >> the x386 model, but that one uses interrupt disables >> and is intrinsically SMP-unsafe. > >semaphore-helper.h uses spin_lock_irqsave which is smp-safe. The way >we do things for 64-bit MIPS is just more performant. spin_lock_irqsave() in 2.2.12 for MIPS is just a save_and_cli(). The MIPS spin_lock macros all collapse the lock into nothingness. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Kernel Semaphores, Ralf Baechle |
|---|---|
| Next by Date: | Re: Kernel Semaphores, Ralf Baechle |
| Previous by Thread: | Re: Kernel Semaphores, Ralf Baechle |
| Next by Thread: | Re: Kernel Semaphores, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |