[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: "Kevin D. Kissell" <>
Date: Mon, 28 May 2001 18:25:28 +0200
Cc: <>
References: <>
> > Export the existance of ll/sc via /proc/cpuinfo or whatever.
>  That's a valid approach and also nothing new to glibc -- see Alpha and
> in()/out() support.  But do we want an extra overhead due to an indirect
> call?  Especially as _test_and_set() gets usually inlined?

Use a global variable testable by the inline code?

> > I dont think this is true necessarly - There are still people building
> > embedded x86 systems based on 386 cores. Look at the vr41xx systems -
> > do also lack the ll/sc afaik. This is nowadays the most commonly
> > used embedded/pda cpu.
>  Are vr41xx plain ISA I or crippled ISA II+ CPUs?

Actually, they are crippled MIPS III+ 64-bit CPUs
(with added stuff like16x16 bit MAC instructions!).

            Kevin K.

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