Date: Thu, 9 Sep 2004 15:26:29 -0400 From: John Baldwin <jhb@FreeBSD.org> To: Julian Elischer <julian@elischer.org> Cc: freebsd-threads@FreeBSD.org Subject: Re: Unkillable KSE threaded proc Message-ID: <200409091526.29468.jhb@FreeBSD.org> In-Reply-To: <4140AA2A.90605@elischer.org> References: <16703.11479.679335.588170@grasshopper.cs.duke.edu> <16704.40876.708925.425911@grasshopper.cs.duke.edu> <4140AA2A.90605@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 09 September 2004 03:08 pm, Julian Elischer wrote: > >I'm following it from 0xc1a22540 for today's lockup: > > > >(kgdb) p $proc->p_mtx > >$3 = { > > mtx_object = { > > lo_class = 0xc069e55c, > > lo_name = 0xc067788d "process lock", > > lo_type = 0xc067788d "process lock", > > lo_flags = 0x430000, > > lo_list = { > > tqe_next = 0x0, > > tqe_prev = 0x0 > > }, > > lo_witness = 0x0 > > }, > > mtx_lock = 0xc1b617d2, > > mtx_recurse = 0x0 > >} > > > > > >0xc1b617d2 is almost the same as the thread id of the > >first thread (0xc1b617d0).. That means it has a flag set, 2 = MTX_CONTESTED meaning that it is a contested lock. 0xc1b617d0 is the thread that owns the lock. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409091526.29468.jhb>