LOR report

From: Thierry Herbelot <thierry_at_herbelot.com>
Date: Tue, 28 Oct 2003 00:54:42 +0200
Hello,

with a recent -Current, I see while mak'ing world :
# lock order reversal
 1st 0xc34969d4 vm object (vm object) _at_ /files3/src/sys/vm/swap_pager.c:1319
 2nd 0xc0941900 swap_pager swhash (swap_pager swhash) _at_ /files3/src/sys/vm/
swap_pager.c:1832
 3rd 0xc103565c vm object (vm object) _at_ /files3/src/sys/vm/uma_core.c:876
Stack backtrace:
backtrace(c084cde1,c103565c,c0860340,c0860340,c0861206) at backtrace+0x17
witness_lock(c103565c,8,c0861206,36c,1) at witness_lock+0x672
_mtx_lock_flags(c103565c,0,c0861206,36c,1) at _mtx_lock_flags+0xba
obj_alloc(c101f9a0,1000,cdd2e9f7,101,c090fe48) at obj_alloc+0x3f
slab_zalloc(c101f9a0,1,c0861206,68c,c101f9b4) at slab_zalloc+0xb3
uma_zone_slab(c101f9a0,1,c0861206,68c,c101fa50) at uma_zone_slab+0xd6
uma_zalloc_internal(c101f9a0,0,1,5c1,728,c09111a8) at uma_zalloc_internal+0x3e
uma_zalloc_arg(c101f9a0,0,1,728,2) at uma_zalloc_arg+0x3b9
swp_pager_meta_build(c34969d4,1,0,2,0) at swp_pager_meta_build+0x1b4
swap_pager_putpages(c34969d4,cdd2ebd0,1,0,cdd2eb40) at swap_pager_putpages
+0x32d
default_pager_putpages(c34969d4,cdd2ebd0,1,0,cdd2eb40) at 
default_pager_putpages+0x2e
vm_pageout_flush(cdd2ebd0,1,0,eb,cdd2ebac) at vm_pageout_flush+0x17a
vm_pageout_clean(c126a878,0,c0861018,32a,0) at vm_pageout_clean+0x305
vm_pageout_scan(0,0,c0861018,5a9,1388) at vm_pageout_scan+0x669
vm_pageout(0,cdd2ed48,c08476c8,314,4) at vm_pageout+0x31b
fork_exit(c079d2b0,0,cdd2ed48) at fork_exit+0xcf
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xcdd2ed7c, ebp = 0 ---

with :
# ident /files3/src/sys/vm/swap_pager.c
/files3/src/sys/vm/swap_pager.c:
     $FreeBSD: src/sys/vm/swap_pager.c,v 1.235 2003/10/27 05:58:15 alc Exp $
# ident /files3/src/sys/vm/uma_core.c
/files3/src/sys/vm/uma_core.c:
     $FreeBSD: src/sys/vm/uma_core.c,v 1.85 2003/09/21 07:39:16 jeff Exp $
# uname -a
FreeBSD XXX 5.1-CURRENT FreeBSD 5.1-CURRENT #207: Mon Oct 27 13:51:31 CET 2003     
YYYY_at_XXXX:/files3/obj/files3/src/sys/SMP  i386

this is on a bi-celeron BP6

	TfH
Received on Mon Oct 27 2003 - 13:54:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:26 UTC