From owner-freebsd-current Tue Jun 26 18:12:54 2001 Delivered-To: freebsd-current@freebsd.org Received: from updraft.jp.freebsd.org (updraft.jp.FreeBSD.ORG [210.157.158.42]) by hub.freebsd.org (Postfix) with ESMTP id 6858E37B40A; Tue, 26 Jun 2001 18:12:50 -0700 (PDT) (envelope-from matusita@jp.FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by updraft.jp.freebsd.org (8.11.3+3.4W/8.11.3) with ESMTP/inet id f5R1Cja53702; Wed, 27 Jun 2001 10:12:46 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) Cc: John Baldwin In-Reply-To: <20010622105854E.matusita@jp.FreeBSD.org> References: <7mr8wj21tz.wl@waterblue.imgsrc.co.jp> <7mr8wj21tz.wl@waterblue.imgsrc.co.jp> <20010622105854E.matusita@jp.FreeBSD.org> X-Face: '*aj"d@ijeQ:/X}]oM5c5Uz{ZZZk90WPt>a^y4$cGQp8:!H\W=hSM;PuNiidkc]/%,;6VGu e+`&APmz|P;F~OL/QK%;P2vU>\j4X.8@i%j6[%DTs_3J,Fff0)*oHg$A.cDm&jc#pD24WK@{,"Ef!0 P\):.2}8jo-BiZ?X&t$V X-User-Agent: Mew/1.94.2 XEmacs/21.5 (alfalfa) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 28 From: Makoto MATSUSHITA To: current@freebsd.org Subject: Re: lock order reversal Date: Wed, 27 Jun 2001 10:12:30 +0900 Message-Id: <20010627101230R.matusita@jp.FreeBSD.org> 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 matusita> lock order reversal matusita> 1st 0xc5d2043c process lock @ ../../vm/vm_glue.c:487 matusita> 2nd 0xc05a9ec0 lockmgr interlock @ ../../kern/kern_lock.c:239 I've caught tracelog of this reversal, with debug.witness_ddb=1. Here's console log: lock order reversal 1st 0xc5e3cfdc process lock @ ../../vm/vm_glue.c:487 2nd 0xc05a9f80 lockmgr interlock @ ../../kern/kern_lock.c:239 Debugger("witness_lock") Stopped at Debugger+0x44: pushl %ebx db> trace Debugger(c02bd5ae) at Debugger+0x44 witness_lock(c05a9f80,8,c02b8d54,ef) at witness_lock+0x90d lockmgr(c5dbe7d0,12,0,c5420640) at lockmgr+0x97 swapout_procs(1,c02686e0,c5420640,0,c582df94) at swapout_procs+0xc46 vm_daemon(0,c582dfa8) at vm_daemon+0x128 fork_exit(c02686e0,0,c582dfa8) at fork_exit+0xb4 fork_trampoline() at fork_trampoline+0x8 db> I don't know whether it is reproducible, but it's early morning (6 AM), mkisofs(1) is just running to make an ISO image for me (for backup). -- - Makoto `MAR' MATSUSHITA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message