Proposal for a userspace "architecture portability" library

Kevin P. Fleming kpfleming@starnetworks.us
Sun Dec 5 04:06:00 GMT 2004


Benjamin Herrenschmidt wrote:

> 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...)

Another thought... the Apache APR library already attempts to provide 
some of this functionality (atomic operations and locks, among others). 
This would fit nicely, as it would provide the underlying core for these 
operations, and allow APR to be extremely well optimized when built for 
a Linux platform.



More information about the Libc-alpha mailing list