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: TSX lock elision for glibc v10


On Thu, Jun 13, 2013 at 11:07:53PM +0200, Andi Kleen wrote:
> > > Only requiring opt-in would kill a lot of the benefits from 
> > > putting this into glibc.  Disabling any nesting would also kill a lot of the
> > > benefit.
> > 
> > Adding a separate constant for NORMAL type mutexes would fix the issue
> > completely and could be done right now without any controversy.
> 
> But old executables don't know anything about new constants.
> They just use "0".  Such a change would only affect rebuilt programs.
> 
> The important part for me is also that default is able to elide.

And the important part to me, covered in the thread about environment
variables, is that no env var should be able to make the
implementation non-conforming or otherwise break existing, working
programs, especially if the env var is honored for suid programs.

Rich


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