John-Mark Gurney writes: > Andrew Gallatin wrote this message on Fri, Sep 10, 2004 at 13:18 -0400: > > If I call copyout() holding one of my mutexes, it will always complain > > about a LOR, even if the mutex is freshly initiated: > > Calling copyout while holding a mutex is not allowed... If the page > isn't in memory, it could take many seconds for the page to be swapped > back in during which time your mutex will continue to be held. Thanks.. but that's not really what I asked. I want to know how witness detects a particular just-created mutex as being in a deadlock with the vm map lock. Again, is it because the vm lock is an sx lock? Is there an implicit rule that you can't take an sx lock while holding a mutex (just like you can't take Giant, or sleep?) Or is it some ordering principal that I don't understand. DRewReceived on Fri Sep 10 2004 - 16:18:24 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:11 UTC