This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v11] Add pretty printers for the NPTL lock types
- From: Martin Galvan <omgalvan dot 86 at gmail dot com>
- To: Torvald Riegel <triegel at redhat dot com>
- Cc: siddhesh at sourceware dot org, Joseph Myers <joseph at codesourcery dot com>, libc-alpha at sourceware dot org
- Date: Mon, 9 Jan 2017 16:36:57 -0300
- Subject: Re: [PATCH v11] Add pretty printers for the NPTL lock types
- Authentication-results: sourceware.org; auth=none
- References: <alpine.DEB.2.20.1612081855170.9769@digraph.polyomino.org.uk> <1481576088-15304-1-git-send-email-omgalvan.86@gmail.com> <alpine.DEB.2.20.1612141820060.32751@digraph.polyomino.org.uk> <CAN19L9GLm7Ey5ni=yrTQ7KioW2qF8rEHinincs85iS_2JKPmRQ@mail.gmail.com> <CAN19L9FAbzN96JMV=i=o5LNic6ctRGUnoxYqSe09NvB-ZaTJMQ@mail.gmail.com> <cb8ede5a-f9ce-9d3b-9fe9-b6708c1388eb@sourceware.org> <CAN19L9FSEUW+1_0ziESsAd-Sr-Nd9gnk9jdTBPKiNnqmCQ2a8A@mail.gmail.com> <1482424494.14990.810.camel@redhat.com> <CAN19L9Feu-=SAiwuTxsb1HNM96RhbrttFG7Q3O_AH=X942jRag@mail.gmail.com> <1482447010.14990.815.camel@redhat.com> <CAN19L9GEmszxLiGmUAiMYbiTXjs92jZ=pE3v-3iLwygXRoRE8g@mail.gmail.com> <1482512736.14990.831.camel@redhat.com> <CAN19L9FYiW7Y4XFxY3uteaV=HYUOkhz6TihBxNyYF9fAfmNngQ@mail.gmail.com> <1482518873.14990.832.camel@redhat.com> <CAN19L9E9FEjfmjaxiW-Mr4ueax-Raao+b_MJE6AMmWVN8T15eg@mail.gmail.com> <1483739904.5606.126.camel@redhat.com>
2017-01-06 18:58 GMT-03:00 Torvald Riegel <triegel@redhat.com>:
> Did you test with or without lock elision?
Good point! I never explicitly enabled lock elision when running
configure. However, I just ran the tests having set
--enable-lock-elision=yes and it's still working for me (though I
don't know why-- how deterministic is lock elision? I just tested this
on a Haswell machine). However, maybe that's what's causing the owner
ID to be 0 in your case. I'll see about fixing the mutex test to
support lock elision and send a patch for you guys to test.
Thanks!