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


> It seems the intent of this patch is to work around the issue by never
> using elision unless it's explicitly requested. However, if I'm not
> mistaken, there's an environment variable to request elision by
> default, and this would DANGEROUSLY break applications using

The "danger" being the enforced deadlock not happening ?

Sorry this whole thing seems like a red herring to me. Even Torvalds
agreed that it is more a bug in the POSIX standard, than anything else.
Obviously it is.

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.

We could ask the POSIX comittee for a clarification, but that would
just prevent any chance of getting the feature in 2.18 and get
some real testing.

If we do some real testing and find a real program that is not
completely broken and is affected by this we can reconsider.
But I consider this unlikely.

If you want to break elision completely please do it in your own libc
only.  Thanks.

-Andi


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