From owner-freebsd-current@FreeBSD.ORG Fri Aug 1 08:03:05 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 AF82637B401; Fri, 1 Aug 2003 08:03:05 -0700 (PDT) Received: from godel.mtl.distributel.net (nat.MTL.distributel.NET [66.38.181.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9403A43FCB; Fri, 1 Aug 2003 08:03:04 -0700 (PDT) (envelope-from bmilekic@technokratis.com) Received: from godel.mtl.distributel.net (localhost [127.0.0.1]) h71B2nqU003542; Fri, 1 Aug 2003 11:02:49 GMT (envelope-from bmilekic@technokratis.com) Received: (from bmilekic@localhost) by godel.mtl.distributel.net (8.12.9/8.12.9/Submit) id h71B2nYr003541; Fri, 1 Aug 2003 11:02:49 GMT X-Authentication-Warning: godel.mtl.distributel.net: bmilekic set sender to bmilekic@technokratis.com using -f Date: Fri, 1 Aug 2003 11:02:49 +0000 From: Bosko Milekic To: Lars Eggert Message-ID: <20030801110249.GA3402@technokratis.com> References: <3F29AA3E.9040809@isi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F29AA3E.9040809@isi.edu> User-Agent: Mutt/1.4.1i cc: alc@freebsd.org cc: current@freebsd.org Subject: Re: vm/map LOR 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: Fri, 01 Aug 2003 15:03:06 -0000 fakepg_zone should probably be UMA_ZONE_VM. Or the vm_object lock needs to be dropped before allocating or freeing to that zone. What does Alan think? (cc'd) -Bosko On Thu, Jul 31, 2003 at 04:46:06PM -0700, Lars Eggert wrote: > Hi, > > with yesterday's -current: > > 1st 0xc6dfd094 vm object (vm object) @ /usr/src/sys/vm/vm_object.c:434 > 2nd 0xc082f110 system map (system map) @ /usr/src/sys/vm/vm_kern.c:323 > > Stack backtrace: > backtrace(c032000b,c082f110,c033362f,c033362f,c03334c6) at backtrace+0x17 > witness_lock(c082f110,8,c03334c6,143,c082f0b0) at witness_lock+0x686 > _mtx_lock_flags(c082f110,0,c03334c6,143,101) at _mtx_lock_flags+0xb5 > _vm_map_lock(c082f0b0,c03334c6,143,c0374778,c03747a0) at _vm_map_lock+0x36 > kmem_malloc(c082f0b0,1000,101,eb44db14,c02b0433) at kmem_malloc+0x3a > page_alloc(c083a240,1000,eb44db07,101,0) at page_alloc+0x27 > slab_zalloc(c083a240,101,c083a254,8,c0334e1e) at slab_zalloc+0xc2 > uma_zone_slab(c083a240,101,c0334e1e,663,165) at uma_zone_slab+0xd9 > uma_zalloc_internal(c083a240,0,101,6e7,0) at uma_zalloc_internal+0x4f > uma_zfree_arg(c083a900,c6e31000,0,eb44dbc4,c029884d) at uma_zfree_arg+0x2a6 > dev_pager_putfake(c6e31000,0,c0332b9e,be,c6dfd094) at dev_pager_putfake+0x35 > dev_pager_dealloc(c6dfd094,1,c0334dcf,10c,0) at dev_pager_dealloc+0xb9 > vm_pager_deallocate(c6dfd094,0,c0333f6c,261,1b2) at vm_pager_deallocate+0x3d > vm_object_terminate(c6dfd094,0,c0333f6c,1b2,c6b894ec) at > vm_object_terminate+0x1e5 > vm_object_deallocate(c6dfd094,c082bd20,c6dfd094,c082bd20,eb44dca0) at > vm_object_deallocate+0x35e > vm_map_entry_delete(c6593e00,c082bd20,c033369d,897,c019f843) at > vm_map_entry_delete+0x3c > vm_map_delete(c6593e00,282e2000,282e3000,1000,282e2000) at > vm_map_delete+0x3c3 > vm_map_remove(c6593e00,282e2000,282e3000,0,c6b8a618) at vm_map_remove+0x55 > munmap(c6ae24c0,eb44dd14,c0339293,3ee,2) at munmap+0x9e > syscall(2f,2f,2f,f8000,1000) at syscall+0x260 > Xint0x80_syscall() at Xint0x80_syscall+0x1d > --- syscall (73), eip = 0x28257aa7, esp = 0xbfbffc1c, ebp = 0xbfbffc48 --- > > Lars > -- > Lars Eggert USC Information Sciences Institute -- Bosko Milekic * bmilekic@technokratis.com * bmilekic@FreeBSD.org TECHNOkRATIS Consulting Services * http://www.technokratis.com/