11 Mar
2012
11 Mar
'12
2:58 p.m.
Mark Brown wrote:
I wonder if PowerPC mutexes are less forgiving here?
I'm still debugging this (although I have higher priority tasks to worry about, unfortunately), but it appears that the mutex is already taken when that code is executed. Unfortunately, I have been unable to figure out where. One second the 'count' value is 1, and then it suddenly becomes '0', and then mutex_lock() is called.
--
Timur Tabi
Linux kernel developer at Freescale