[PATCH 03/14] Add elision to pthread_mutex_{try,timed,un}lock

Carlos O'Donell carlos@redhat.com
Fri Jun 28 22:17:00 GMT 2013


On 06/28/2013 05:29 PM, Andi Kleen wrote:
>>>
>>> There is currently no recursive elided mutex.
>>> It would seem odd to add a type that doesn't exist.
>>>
>>> I just added the check here, so that if someone 
>>> enables elision explicitely for recursive locks,
>>> it's a nop, and not an assert failure.
>>>
>>> In the future when recursive mutexes are elided I'll
>>> add that type too.
>>
>> That makes sense. Please add a comment to that effect.
> 
> You want me to repost everything for that single line?

No, just repost a v2 followup of patch 3 with the line
added. I'll be slurping these in one-by-one into my
test tree and run validation on my Haswell hardware.

Cheers,
Carlos.



More information about the Libc-alpha mailing list