Re: Proposal for a userspace "architecture portability" library

From: Kevin P. Fleming
Date: Sat Dec 04 2004 - 23:14:37 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/