From owner-freebsd-net@FreeBSD.ORG Fri Feb 16 17:12:18 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F124616A406 for ; Fri, 16 Feb 2007 17:12:18 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id D7B3D13C441 for ; Fri, 16 Feb 2007 17:12:18 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id C95C85B52; Fri, 16 Feb 2007 08:46:32 -0800 (PST) To: Luigi Rizzo In-reply-to: Your message of "Fri, 16 Feb 2007 08:17:37 PST." <20070216081737.A7793@xorpc.icir.org> Date: Fri, 16 Feb 2007 08:46:32 -0800 From: Bakul Shah Message-Id: <20070216164632.C95C85B52@mail.bitblocks.com> Cc: freebsd-net@freebsd.org, "V.Chukharev" Subject: Re: iwi leaks memory? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Feb 2007 17:12:19 -0000 > ok doesn't seem to have anything strange, nor there > seem to be any memory leak in iwi_init_locked... > > will keep the problem in mind, but right now i have no > ideas on what could happen. One data point: when I see a iwi0: could not allocate firmware DMA memory I close memory hog programs one by one and ultimately iwi manages to find memory. My guess is it needs contiguous physical memory and normally memory gets very fragmented and may be by killing enough programs somehow enough physmem is found to be free? No idea if firmware loading can be made smarter.