Date: Wed, 27 Jun 2001 10:12:30 +0900 From: Makoto MATSUSHITA <matusita@jp.FreeBSD.org> To: current@freebsd.org Cc: John Baldwin <jhb@freebsd.org> Subject: Re: lock order reversal Message-ID: <20010627101230R.matusita@jp.FreeBSD.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010627101230R.matusita>
