Date: Mon, 6 Jan 2003 13:23:06 -0800 (PST) From: Sam Leffler <sam@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ubsec ubsec.c ubsecvar.h Message-ID: <200301062123.h06LN6KN019501@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2003/01/06 13:23:06 PST
Modified files:
sys/dev/ubsec ubsec.c ubsecvar.h
Log:
fix memory allocation problems and collateral damage:
o create a separate tag for each object allocated with bus_dmamem_alloc so
the tag's maxsize is setup appropriately; this reduces memory allocation
for the queue descriptors from 16M to what it should be and also fixes
memory allocation for public key operands
o release bus dma resources on detach so module usage doesn't leak
o remove public key op disable now that bus dma memory allocation is fixed
o collect attach error handling in one place
Sponsored by: Vernier Networks
Revision Changes Path
1.10 +111 -71 src/sys/dev/ubsec/ubsec.c
1.4 +1 -0 src/sys/dev/ubsec/ubsecvar.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301062123.h06LN6KN019501>
