Synchronizing auxiliary mutex data

Andreas Schwab schwab@suse.de
Wed Jun 28 07:17:00 GMT 2017


On Jun 27 2017, Andrew Pinski <pinskia@gmail.com> wrote:

> On Mon, Jun 19, 2017 at 1:10 AM, Andreas Schwab <schwab@suse.de> wrote:
>> What is synchronizing the auxiliary data in pthread_mutex_t.__data
>> (__owner and __count) between threads?
>
> I suspect you are running into a problem where you are getting a
> deadlock and/or lock has happened on two different CPUs?

No.  Something is reading stale data.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list