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

Matthew Dillon dillon at
Wed Oct 20 11:15:19 PDT 2004

: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

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

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

More information about the Commits mailing list