From: Florian Lohoff <flo@rfc822.org>
To: linux-mips@oss.sgi.com
Subject: userspace spinlocks
Date: Mon, 30 Oct 2000 15:17:36 +0100 [thread overview]
Message-ID: <20001030151736.C2687@paradigm.rfc822.org> (raw)
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?
next reply other threads:[~2000-10-30 14:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-30 14:17 Florian Lohoff [this message]
2000-10-30 17:51 ` userspace spinlocks 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20001030151736.C2687@paradigm.rfc822.org \
--to=flo@rfc822.org \
--cc=linux-mips@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox