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