DragonFly BSD
DragonFly commits List (threaded) for 2004-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/dev/netif/em


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 20 Oct 2004 11:14:25 -0700 (PDT)

:On Mon, Oct 18, 2004 at 10:47:52PM -0700, Matthew Dillon wrote:
:>   Remove an unnecessary bus_dmamap_create and destroy for the rx and tx
:>   descriptor rings.  No bounce buffers are ever needed since bus_dmamem_alloc()
:>   allocates the correct type of memory and never needs a bounce buffer.
:
:This is in fact a memory leak in the kernel, if bounce pages have been
:allocated.
:
:Joerg

    Yah, I noticed that too.  That's more a degenerate issue with
    the API and busdma code.  It really needs some rewriting.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]