Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2002 23:34:20 +0900
From:      Munehiro Matsuda <haro@h4.dion.ne.jp>
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...
Message-ID:  <20020317233420F.haro@h4.dion.ne.jp>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
Date: Sun, 17 Mar 2002 01:17:21 +0900
::Seigo> On Sat, 16 Mar 2002 10:22:22 +0100,
::Seigo>   Poul-Henning Kamp <phk@freebsd.org> 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
<snip>
::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-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020317233420F.haro>