From owner-freebsd-bugs Wed Mar 13 16:30:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E839E37B405 for ; Wed, 13 Mar 2002 16:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2E0U1J28970; Wed, 13 Mar 2002 16:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F190E37B416 for ; Wed, 13 Mar 2002 16:28:57 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2E0Svx28614; Wed, 13 Mar 2002 16:28:57 -0800 (PST) (envelope-from nobody) Message-Id: <200203140028.g2E0Svx28614@freefall.freebsd.org> Date: Wed, 13 Mar 2002 16:28:57 -0800 (PST) From: Greg Johnson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/35876: bus_dmamem_free does not call contigfree Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35876 >Category: kern >Synopsis: bus_dmamem_free does not call contigfree >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 13 16:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Greg Johnson >Release: 4.5-RELEASE >Organization: Canon Information Systems Research Australia >Environment: FreeBSD calvert.research.canon.com.au 4.5-RELEASE FreeBSD 4.5-RELEASE #4: Thu Feb 21 11:21:40 EST 2002 root@calvert.research.canon.com.au:/usr/obj/usr/src/sys/CALVERT i386 >Description: bus_dmamem_alloc calls contigmalloc when allocating memory that is more than a single page in size. bus_dmamem_free does nothing when freeing allocated memory that is more than a single page in size. The memory remains wired and does not get re-allocated. >How-To-Repeat: Allocate more than a page of memory using bus_dmamem_alloc the try to free it using bus_dmamem_free. Note that amount of wired memory before during and after. >Fix: Have bus_dmamem_free call contigfree for the case where the ammount of memory is more that a single page. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message