This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Proposal for a userspace "architecture portability" library
- From: Benjamin Herrenschmidt <benh at kernel dot crashing dot org>
- To: Paul Mackerras <paulus at samba dot org>
- Cc: Linus Torvalds <torvalds at osdl dot org>, David Woodhouse <dwmw2 at infradead dot org>, David Howells <dhowells at redhat dot com>, Linux Kernel list <linux-kernel at vger dot kernel dot org>, libc-alpha at sources dot redhat dot com
- Date: Sun, 05 Dec 2004 13:44:07 +1100
- Subject: Re: Proposal for a userspace "architecture portability" library
- References: <16818.23575.549824.733470@cargo.ozlabs.ibm.com>
On Sun, 2004-12-05 at 11:53 +1100, Paul Mackerras wrote:
> I'm looking for volunteers to help with porting and testing on various
> architectures. I can do x86, ppc and ppc64, and I know sparc{,64} and
> m68k assembler, but for the rest I'll need help.
>
> My hope is that distributions will be able to use this to replace some
> of the headers in /usr/include/asm, and thus reduce the desire for
> applications to include kernel headers.
Interesting ... note also that it goes well with my intend of having
some of these (atomics, locks, ...) be provided by the kernel via the
vDSO library mapped by the kernel in userland on ppc. That library would
abstract that nicely. (That way, the kernel can take care of providing
the best implementation for a given processor, dealing with CPU errata
that often happen around areas of locks & atomics, etc...)
Ben.