This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Fri, Jun 14, 2013 at 08:52:33AM +0200, Torvald Riegel wrote:
> On Thu, 2013-06-13 at 23:15 +0200, Andi Kleen wrote:
> > I'm completely opposed to this. This would kill the major benefit
> > for even doing all of this in glibc.
> 
> If you mean "the major benefit" in the sense of the only major benefit,
> then I disagree.  It would be good to have it for existing binaries, but
> once they get recompiled, they will be able to benefit from lock
> elision.

Has anybody actually _seen_ these benefits with existing software?
I can sure make up artificial programs that benefit from elision,
but I have not yet seen a real (= existing) program that runs
noticably faster with lock elision in pthread mutexes and rwlocks.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]