[RFC][PATCH] tunables: Add elision tunable

Stefan Liebler stli@linux.vnet.ibm.com
Wed Sep 13 14:14:00 GMT 2017


On 09/13/2017 03:42 PM, Gabriel F. T. Gomes wrote:
> On 12 Sep 2017, Stefan Liebler wrote:
> 
>> I've also used a small s390 specific test program to check wether a
>> mutex was elided or not:
>> ./prog
>> Lock was a normal lock!
>>
>> GLIBC_TUNABLES=glibc.elision.enable=0 ./prog
>> Lock was a normal lock!
>>
>> GLIBC_TUNABLES=glibc.elision.enable=1 ./prog
>> Lock was elided via a transaction! (nesting-depth=1)
>>
>> GLIBC_TUNABLES=glibc.elision.enable=1 ./prog_secure
>> Lock was a normal lock!
> 
> Would you be willing to share this test program (and your build
> configurations)?  I understand that it is s390-specific, but it could help
> anyway (at least for my education, it will).
> 

Yes sure, please see the notes in the attached file.

Bye
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: isintransaction-s390x.c
Type: text/x-csrc
Size: 2912 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170913/e16fd9f1/attachment.bin>


More information about the Libc-alpha mailing list