----- Original Message -----
 Hi list,
 
 Anyone has done such kind of job before?
 I just read Documentation/mutex-design.txt from kernel code, it
 claims:
    * - list of all locks held in the system, printout of them
 
 I think kernel could do this kind of thing, then crash also could do
 it, am i right? 
Apparently only if CONFIG_DEBUG_MUTEXES is configured.
Dave