From owner-freebsd-current@FreeBSD.ORG Sat Jul 16 06:52:01 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C665D16A41C for ; Sat, 16 Jul 2005 06:52:01 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 675F443D45 for ; Sat, 16 Jul 2005 06:52:01 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from herbelot.dyndns.org (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by postfix3-2.free.fr (Postfix) with ESMTP id B35B4C013; Sat, 16 Jul 2005 08:51:59 +0200 (CEST) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.13.3/8.13.3) with ESMTP id j6G6ps32024041; Sat, 16 Jul 2005 08:51:57 +0200 (CEST) From: Thierry Herbelot To: bzeeb+freebsd+lor@zabbadoz.net Date: Sat, 16 Jul 2005 08:51:45 +0200 User-Agent: KMail/1.8.1 X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200507160851.47433.thierry@herbelot.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: lock order reversal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jul 2005 06:52:01 -0000 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) @ /usr/src/sys/vm/uma_core.c:1485 2nd 0xc1060144 system map (system map) @ /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