From owner-freebsd-current@FreeBSD.ORG Mon Jul 7 06:16:44 2003 Return-Path: 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 2F8BB37B401 for ; Mon, 7 Jul 2003 06:16:44 -0700 (PDT) Received: from fepE.post.tele.dk (fepE.post.tele.dk [195.41.46.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAC8343FB1 for ; Mon, 7 Jul 2003 06:16:42 -0700 (PDT) (envelope-from pho@holm.cc) Received: from peter.osted.lan ([80.164.63.151]) by fepE.post.tele.dk (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP id <20030707131641.JDLW12101.fepE.post.tele.dk@peter.osted.lan> for ; Mon, 7 Jul 2003 15:16:41 +0200 Received: from peter.osted.lan (localhost [127.0.0.1]) by peter.osted.lan (8.12.8/8.12.8) with ESMTP id h67DGemN063058 for ; Mon, 7 Jul 2003 15:16:40 +0200 (CEST) (envelope-from pho@peter.osted.lan) Received: (from pho@localhost) by peter.osted.lan (8.12.8/8.12.8/Submit) id h67DGd8C063057 for freebsd-current@freebsd.org; Mon, 7 Jul 2003 15:16:39 +0200 (CEST) Date: Mon, 7 Jul 2003 15:16:39 +0200 From: Peter Holm To: freebsd-current@freebsd.org Message-ID: <20030707131639.GA63022@peter.osted.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: LOR in vm/swap_pager.c:1166 + vm/vm_kern.c:325 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 13:16:44 -0000 In current from Jul 3 18:36 UTC: lock order reversal 1st 0xc0836ae4 vm object (vm object) @ vm/swap_pager.c:1166 2nd 0xc082e120 system map (system map) @ vm/vm_kern.c:325 Stack backtrace: backtrace(c050c617,c082e120,c051eacf,c051eacf,c051e977) at backtrace+0x17 witness_lock(c082e120,8,c051e977,145,c05da600) at witness_lock+0x697 _mtx_lock_flags(c082e120,0,c051e96e,145,cccab904) at _mtx_lock_flags+0xb1 _vm_map_lock(c082e0c0,c051e96e,145,c083a214,cccab95c) at _vm_map_lock+0x36 kmem_malloc(c082e0c0,1000,101,cccab98c,c046c860) at kmem_malloc+0x39 page_alloc(c083a200,1000,cccab97f,101,c055fb80) at page_alloc+0x27 slab_zalloc(c083a200,101,c052030c,664,c0508c33) at slab_zalloc+0x150 uma_zone_slab(c083a200,101,c0520303,664,0) at uma_zone_slab+0xd8 uma_zalloc_internal(c083a200,0,101,6e8,0) at uma_zalloc_internal+0x55 uma_zfree_arg(c1991300,ccccccf0,0,1,0) at uma_zfree_arg+0x2d7 swp_pager_meta_ctl(c0836ae4,1f,0,2,cccabb6c) at swp_pager_meta_ctl+0x1bf swap_pager_unswapped(c08f14d8,1,c05072cf,b4,cccabad0) at swap_pager_unswapped+0x2a vm_fault(c0bab770,bfbff000,2,8,c1982390) at vm_fault+0x1181 trap_pfault(cccabbfc,0,bfbffa68,c0507326,bfbffa68) at trap_pfault+0x10f trap(18,10,10,bfbffa68,cccabc6c) at trap+0x3cd calltrap() at calltrap+0x5 --- trap 0xc, eip = 0xc04a243c, esp = 0xcccabc3c, ebp = 0xcccabccc --- slow_copyout(c1982390,cccabd10,0,cccabd40,c04a471e) at slow_copyout+0x4 wait4(c1982390,cccabd10,c052441d,3fd,4) at wait4+0x20 syscall(2f,2f,2f,0,3a) at syscall+0x26e Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (7), eip = 0x807b26b, esp = 0xbfbffa0c, ebp = 0xbfbffa28 --- -- Peter Holm