Linux MIPS Architecture development
 help / color / mirror / Atom feed
* userspace spinlocks
@ 2000-10-30 14:17 Florian Lohoff
  2000-10-30 17:51 ` Jun Sun
  2000-10-31 18:22 ` Ralf Baechle
  0 siblings, 2 replies; 11+ messages in thread
From: Florian Lohoff @ 2000-10-30 14:17 UTC (permalink / raw)
  To: linux-mips

Hi,
while compiling db2 i got the configure warning "spinlocks not implemented
for this compiler/architecture" - I guess as we do not currently have
SMP machines (except the ones ralf is working on) we dont have a problem,
but how should the spinlocks be implemented ?

I mean - normally "ll" and "sc" are needed - But those are not
available on R3000 - And spinning in an ll/sc loop and emulating
them with exceptions isnt that fast.

OTOH - Where are they normally implemented ? libc ? macro ? Could
there be a runtime linking thing with a cpu detection wether we 
have ll/sc or not ?

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
     Why is it called "common sense" when nobody seems to have any?

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2000-11-01 16:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-30 14:17 userspace spinlocks Florian Lohoff
2000-10-30 17:51 ` Jun Sun
2000-10-31 20:14   ` Ralf Baechle
2000-10-31 22:01     ` Jun Sun
2000-11-01  6:50       ` Mike Klar
2000-11-01  6:50         ` Mike Klar
2000-11-01 13:36         ` Ralf Baechle
2000-11-01 16:40           ` Mike Klar
2000-11-01 16:40             ` Mike Klar
2000-11-01  9:09     ` Florian Lohoff
2000-10-31 18:22 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox