[PATCH v11] Add pretty printers for the NPTL lock types

Martin Galvan omgalvan.86@gmail.com
Mon Jan 9 19:37:00 GMT 2017


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!



More information about the Libc-alpha mailing list