From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 30 18:29:24 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5434D16A407 for ; Fri, 30 Jun 2006 18:29:24 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.swip.net [212.247.155.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDB1F43D48 for ; Fri, 30 Jun 2006 18:29:23 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== X-Cloudmark-Score: 0.000000 [] Received: from mp-217-137-172.daxnet.no ([193.217.137.172] verified) by mailfe11.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 56434127 for freebsd-hackers@freebsd.org; Fri, 30 Jun 2006 20:29:21 +0200 From: Hans Petter Selasky To: freebsd-hackers@freebsd.org Date: Fri, 30 Jun 2006 20:29:28 +0200 User-Agent: KMail/1.7 References: <200605271102.19799.hselasky@c2i.net> <200606021556.00231.hselasky@c2i.net> <200606131939.23799.hselasky@c2i.net> In-Reply-To: <200606131939.23799.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606302029.28563.hselasky@c2i.net> Subject: contiguous memory allocation problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 18:29:24 -0000 Hi, I sometimes see that the USB driver is unable to allocate contiguous memory for itself. For example I noticed that FreeBSD was unable to allocate 350kbytes of contiguous memory after that I had run "konqueror", the KDE web browser and various other memory consuming applications for a while. I am thinking about pre-allocating some memory for USB, but isn't that the job of bus-dma, which the USB system uses for memory allocation? The machine in question is running FreeBSD 7-current from April. Any comments? Thanks, --HPS