From: Paul Mackerras <paulus@samba.org>
To: Robert Love <rml@novell.com>
Cc: Linus Torvalds <torvalds@osdl.org>,
David Woodhouse <dwmw2@infradead.org>,
David Howells <dhowells@redhat.com>,
linux-kernel@vger.kernel.org, libc-alpha@sources.redhat.com
Subject: Re: Proposal for a userspace "architecture portability" library
Date: Sun, 5 Dec 2004 12:47:05 +1100 [thread overview]
Message-ID: <16818.26777.209451.685576@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <1102208924.6052.94.camel@localhost>
Robert Love writes:
> I think that this is an _awesome_ idea. Might want to check out what
> overlap there is with existing glibc interfaces. For example, I presume
> that glibc implements at least some of the atomic operations (but I also
> think having a full suite of atomic operations available is useful).
I don't think glibc exports any atomic operations. As for the
semaphores and spinlocks, clearly you can use the pthread_* functions,
but hopefully the kernel versions are a bit lighter-weight.
> Some of the stuff, like semaphores, isn't really going to port very well
> to user-space. At least not directly, I would not think.
No, for semaphores and rwsems I was going to use futexes. Or maybe we
don't need the kernel's semaphores, rwsems and spinlocks in userspace
at all. I'm open to suggestions.
> FWIW, you have my permission. I've touched spinlock.h a bunch.
Thanks.
Paul.
next prev parent reply other threads:[~2004-12-05 1:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-05 0:53 Paul Mackerras
2004-12-05 1:08 ` Robert Love
2004-12-05 1:47 ` Paul Mackerras [this message]
2004-12-05 2:10 ` Kevin P. Fleming
2004-12-05 3:51 ` Roland McGrath
2004-12-05 2:40 ` H. Peter Anvin
2004-12-05 2:44 ` Benjamin Herrenschmidt
2004-12-05 4:06 ` Kevin P. Fleming
2004-12-05 18:12 ` Alan Cox
2004-12-05 19:48 ` Joseph Seigh
2004-12-05 23:29 ` Joel Becker
2004-12-06 9:42 ` Adrian 'Dagurashibanipal' von Bidder
2004-12-05 6:18 Dan Kegel
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=16818.26777.209451.685576@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=dhowells@redhat.com \
--cc=dwmw2@infradead.org \
--cc=libc-alpha@sources.redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rml@novell.com \
--cc=torvalds@osdl.org \
/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
all inboxes | Powered by JetHome®