Date: Wed, 13 Mar 2002 16:28:57 -0800 (PST) From: Greg Johnson <gjohnson@research.canon.com.au> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/35876: bus_dmamem_free does not call contigfree Message-ID: <200203140028.g2E0Svx28614@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203140028.g2E0Svx28614>