[Bugme-janitors] [Bug 2829] posix_locks_deadlock() loops infinitely

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Thu Aug 17 00:47:29 PDT 2006


http://bugzilla.kernel.org/show_bug.cgi?id=2829





------- Additional Comments From tanmayinamdar at gmail.com  2006-08-17 00:41 -------
We simulated the above given situation using lockf and fcntl functions to aquire
locks on files by threads on 2.6.17.6 kernel on i386 arch. We found that lockf
generates error EDEADLK which tells that :  The command was T_LOCK and this lock
 operation  would  cause  a deadlock. 
Hence the deadlock situation is already handled in this case.
Also while debugging we found that the 'posix_locks_deadlock()' function is not
looping infinitely.

Regards,
Tanmay and Pranav (Calsoftinc, India)

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Bugme-janitors mailing list