Skip to contentSkip to conversation

New: releasing loop on top of other loop leads to deadlock

Bugme-new Arnd Bergmann 1 participant 1 message Feb 18, 2011 2 messages not in the archive

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive
Quoted 6 lines · Andrew Morton
Quoted 1 line · On Tue, 15 Feb 2011 10:00:57 GMT [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=29172

post-2.6.37 deadlock in loop. I'd agree with the reporter that Arnd might be involved ;)

Yes, sounds right, we should fix it and get the fix into stable.

This comes from an automated conversion that was done under the assumption that it cannot break from making the locking stricter. A related bug happened in the nbd driver, and I think the solution here should also be to remove the new mutex. Upon closer review of the code, I cannot see any reason why it would actually be needed: there is no global data to be protected and all device specific data is protected by another mutex.

Arnd