On Thu, 2008-05-29 at 08:45 +0800, Dave Young wrote:
Yes, that was nice of them ...
Hardly ... the fact that it showed up in two different cases indicated
the problem to be more generic.
The root cause of the problem was that mutexes are part of the lockdep
infrastructure whereas semaphores aren't and the dynamic initialisation
of mutexes becomes a lockdep problem unless they're keyed and
initiallised correctly. If you want to do more semaphore->mutex
conversions, it would really be useful for you to understand what was
done and why it was necessary ... because it's going to become necessary
again in others of them.
James
--