From owner-freebsd-threads@FreeBSD.ORG Thu Sep 9 19:26:29 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA44C16A4CE for ; Thu, 9 Sep 2004 19:26:29 +0000 (GMT) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 939CE43D3F for ; Thu, 9 Sep 2004 19:26:29 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 824 invoked from network); 9 Sep 2004 19:26:29 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 9 Sep 2004 19:26:29 -0000 Received: from [10.50.40.210] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i89JQQOM009310; Thu, 9 Sep 2004 15:26:26 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Julian Elischer Date: Thu, 9 Sep 2004 15:26:29 -0400 User-Agent: KMail/1.6.2 References: <16703.11479.679335.588170@grasshopper.cs.duke.edu> <16704.40876.708925.425911@grasshopper.cs.duke.edu> <4140AA2A.90605@elischer.org> In-Reply-To: <4140AA2A.90605@elischer.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409091526.29468.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Andrew Gallatin cc: freebsd-threads@FreeBSD.org Subject: Re: Unkillable KSE threaded proc X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 19:26:29 -0000 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org