lock order reversal

From: Thierry Herbelot <thierry_at_herbelot.com>
Date: Sat, 16 Jul 2005 08:51:45 +0200
Hello,

I just had a look a the list of LOR you maintain and I did not see this one :
(on a very recent -Current, on an SMP machine, with a straight 
GENERIC kernel)

lock order reversal
 1st 0xc097aaa0 UMA lock (UMA lock) _at_ /usr/src/sys/vm/uma_core.c:1485
 2nd 0xc1060144 system map (system map) _at_ /usr/src/sys/vm/vm_kern.c:295
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c092fbb8,c092fcf8,c08ba5a4) at kdb_backtrace+0x29
witness_checkorder(c1060144,9,c0870b58,127) at witness_checkorder+0x564
_mtx_lock_flags(c1060144,0,c0870b58,127) at _mtx_lock_flags+0x5b
_vm_map_lock(c10600c0,c0870b58,127) at _vm_map_lock+0x26
kmem_malloc(c10600c0,1000,1,c6d03ba4,c077df3d) at kmem_malloc+0x32
page_alloc(c104a5a0,1000,c6d03b97,1,c0653410) at page_alloc+0x1a
slab_zalloc(c104a5a0,1,0,c1458680,c10492f8) at slab_zalloc+0xa1
uma_zone_slab(c104a5a0,1,1,e,31bb) at uma_zone_slab+0xe8
uma_zalloc_bucket(c104a5a0,1) at uma_zalloc_bucket+0x130
uma_zalloc_arg(c104a5a0,0,1) at uma_zalloc_arg+0x2d8
malloc(200,c08f4d00,1,43,c1044460) at malloc+0xae
hash_alloc(c6d03c74,c1044468,0,c086fe11,1a4) at hash_alloc+0x29
zone_timeout(c1041b40) at zone_timeout+0x7e
zone_foreach(c077d778,c6d03ce8,c063d21f,0,c077d744) at zone_foreach+0x37
uma_timeout(0) at uma_timeout+0x12
softclock(0) at softclock+0x1e7
ithread_loop(c1270400,c6d03d38,c1270400,c061f820,0) at ithread_loop+0x11c
fork_exit(c061f820,c1270400,c6d03d38) at fork_exit+0xa0
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xc6d03d6c, ebp = 0 ---

CVS idents :
/usr/src/sys/vm/uma_core.c:
     $FreeBSD: src/sys/vm/uma_core.c,v 1.122 2005/07/14 16:35:13 rwatson Exp $
/usr/src/sys/vm/vm_kern.c:
     $FreeBSD: src/sys/vm/vm_kern.c,v 1.122 2005/01/07 02:29:27 imp Exp $

	Cheers

	TfH
Received on Sat Jul 16 2005 - 04:52:01 UTC

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