From owner-cvs-all Mon Jan 6 13:23: 8 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86A4137B401; Mon, 6 Jan 2003 13:23:07 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 429A043EC2; Mon, 6 Jan 2003 13:23:07 -0800 (PST) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h06LN7fh019502; Mon, 6 Jan 2003 13:23:07 -0800 (PST) (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h06LN6KN019501; Mon, 6 Jan 2003 13:23:06 -0800 (PST) Message-Id: <200301062123.h06LN6KN019501@repoman.freebsd.org> From: Sam Leffler Date: Mon, 6 Jan 2003 13:23:06 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ubsec ubsec.c ubsecvar.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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