Proposal for a userspace "architecture portability" library

Benjamin Herrenschmidt benh@kernel.crashing.org
Sun Dec 5 02:48:00 GMT 2004


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.




More information about the Libc-alpha mailing list