From owner-freebsd-current Sun Mar 17 6:36:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from hfep06.dion.ne.jp (hfep06.dion.ne.jp [203.181.105.72]) by hub.freebsd.org (Postfix) with ESMTP id 1AFEC37B41A; Sun, 17 Mar 2002 06:36:32 -0800 (PST) Received: from localhost ([211.134.60.223]) by hfep06.dion.ne.jp with ESMTP id <20020317143630147.MCBX@hfep06.dion.ne.jp>; Sun, 17 Mar 2002 23:36:30 +0900 To: tanimura@r.dl.itc.u-tokyo.ac.jp Cc: phk@FreeBSD.ORG, hitmaster2k@yahoo.com, haro@h4.dion.ne.jp, rwatson@FreeBSD.ORG, current@FreeBSD.ORG, smp@FreeBSD.ORG Subject: Re: -current lock warning... In-Reply-To: <200203161618.g2GGHMA5085135@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> References: <35758.1016270542@critter.freebsd.dk> <200203161357.g2GDuwA5043113@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> <200203161618.g2GGHMA5085135@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020317233420F.haro@h4.dion.ne.jp> Date: Sun, 17 Mar 2002 23:34:20 +0900 From: Munehiro Matsuda X-Dispatcher: imput version 20000228(IM140) Lines: 36 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: Seigo Tanimura Date: Sun, 17 Mar 2002 01:17:21 +0900 ::Seigo> On Sat, 16 Mar 2002 10:22:22 +0100, ::Seigo> Poul-Henning Kamp said: :: ::Seigo> Poul-Henning> acquiring duplicate lock of same type: "thrd_sleep" ::Seigo> Poul-Henning> 1st @ ../../../vm/vm_map.c:2288 ::Seigo> Poul-Henning> 2nd @ ../../../vm/vm_kern.c:172 ::The patch attached below renames the lock of the kernel_map to ::"kernel_map" once witness gets ready to run. This eliminated all of ::the lock order reversals on my PC. Hello Seigo, Thanks for the patch. That eliminated the 'duplicate lock' warning and worked fine on my UP system with 'make -j2 buildworld'. Thank you, Haro PS. I got another message that happend when I ^C'ed a buildworld earlier, with same kernel. May be it should go to Alfred Perlstein? lock order reversal 1st 0xc198eec0 pipe mutex @ ../../../kern/sys_pipe.c:779 2nd 0xc0367fe0 Giant @ ../../../i386/i386/trap.c:716 =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kubota.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message