On Thu, Dec 17, 2009 at 03:34:47PM +0100, Sven Eckelmann wrote: [...]
When finding this bug, did you take any notes etc, which could contribute to such a document?
[...]
The documentation about the context in which each lock/function is used isn't really there for the kernel. As there are some upcoming changes we should wait until they are submitted. They should be generated while checking for new deadlocks introduced by them.
Sorry, wanted to say that there is no real documentation inside the kernel in which situation/context a specific hook/function is called or can be called. Some parts like the vm has such a document, but this is more an exception and not common in many other subsystems.
Best regards, Sven