[PATCH] Add PTHREAD_MUTEX_NORMAL_INT
Andi Kleen
ak@linux.jf.intel.com
Wed Jun 26 15:51:00 GMT 2013
> I really get the impression you're not reading reviews. At least you
> seem to be ignoring mine. Have a look at my reply to your top-most
> email in the v10 patch set:
> http://sourceware.org/ml/libc-alpha/2013-06/msg00500.html
> Look at point 2). There's 4 paragraphs just about this.
You're basically saying I should have separate lock types instead
of flags.
I had these new lock types originally, but Carlos didn't like them,
so I changed them to flags.
You should have commented back then.
Anyways if you and Carlos agree that new lock types are preferable
I can switch back to separate lock types, like the early versions of the
patchkit did.
As for HLE vs RTM semantics, I consider nested trylock undefined
with elision. So whether it acts like HLE and RTM is undefined.
In terms of hardware HLE will never nest as deeply as RTM can,
because each nesting level needs hardware resources (a lock buffer)
So it's unlikely HLE will ever nest as deep as RTM can.
-Andi
More information about the Libc-alpha
mailing list