[PATCH 03/10] Add external interface changes: new lock types for pthread_mutex_t

Andi Kleen andi@firstfloor.org
Wed Jan 16 18:49:00 GMT 2013


> Elsewhere in this thread Andi seemed to say that the HLE tunables are
> just meant to be used for experiments, and not part of the standard ABI.


Enabling/disabling elision per lock is part of the standard ABI.
What's not part are the various retry configurables because the
underlying algorithm may change later.

> But how do we make sure programmers are aware of this?  The identifiers
> above don't tell me that ELIDED can go away whereas PRIVATE will not.

Unlike the rest of NPTL elision has extensive documentation
(see patch 10/10)

> Thus, I think we first need to have a clear understanding of what the
> purpose of these flags/hints and the target audience / uses cases are.

See the manual in 10/10.

-Andi



More information about the Libc-alpha mailing list