[Top] [All Lists]

Re: MIPS_ATOMIC_SET again (Re: newest kernel

To: "Maciej W. Rozycki" <>
Subject: Re: MIPS_ATOMIC_SET again (Re: newest kernel
From: Joe deBlaquiere <>
Date: Tue, 29 May 2001 08:02:46 -0500
Cc: "Kevin D. Kissell" <>,
References: <>
User-agent: Mozilla/5.0 (X11; U; Linux 2.4.2-2 i686; en-US; 0.8.1) Gecko/20010422

Maciej W. Rozycki wrote:

On Mon, 28 May 2001, Kevin D. Kissell wrote:

Use a global variable testable by the inline code?

 With both variants inlined?  Now that's really ugly.

 Are vr41xx plain ISA I or crippled ISA II+ CPUs?

Actually, they are crippled MIPS III+ 64-bit CPUs

 Then an ll/sc and lld/scd emulation seems to be most appropriate here.  I
don't think we want to add _test_and_set() to mips64*-linux.

All the cases I've seen have been for 32-bit kernels. A 64-bit PDA kernel seems 
like a wee tiny bit of overkill

Joe deBlaquiere
Red Hat, Inc.
307 Wynn Drive
Huntsville AL, 35805
voice : (256)-704-9200
fax   : (256)-837-3839

<Prev in Thread] Current Thread [Next in Thread>