diff options
author | arr <arr@FreeBSD.org> | 2002-06-13 14:32:51 +0000 |
---|---|---|
committer | arr <arr@FreeBSD.org> | 2002-06-13 14:32:51 +0000 |
commit | 14714108891719cd4af97afba8c20ed7b9f5a0f4 (patch) | |
tree | d4d37a64db8643744bf8333ce20f45640c1bcaef /sys/netatm/uni/sscf_uni_lower.c | |
parent | 2f568aeb91d6d5f3b370b9b641b5a64a3466d1bd (diff) | |
download | FreeBSD-src-14714108891719cd4af97afba8c20ed7b9f5a0f4.zip FreeBSD-src-14714108891719cd4af97afba8c20ed7b9f5a0f4.tar.gz |
- Finish the uni part of the storage pool cleanup. There should now only
be a few bits left to clean from the HARP code in terms of what is using
the storage pools; once that's done, the memory management code can be
removed entirely.
This commit effectively changes the use of dynamic memory routines from
atm_allocate, atm_free, atm_release_pool to uma_zcreate, uma_zalloc,
uma_zfree, uma_zdestroy.
Diffstat (limited to 'sys/netatm/uni/sscf_uni_lower.c')
-rw-r--r-- | sys/netatm/uni/sscf_uni_lower.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netatm/uni/sscf_uni_lower.c b/sys/netatm/uni/sscf_uni_lower.c index d8c3677..d87cd0e 100644 --- a/sys/netatm/uni/sscf_uni_lower.c +++ b/sys/netatm/uni/sscf_uni_lower.c @@ -59,10 +59,13 @@ #include <netatm/uni/sscf_uni.h> #include <netatm/uni/sscf_uni_var.h> +#include <vm/uma.h> + #ifndef lint __RCSID("@(#) $FreeBSD$"); #endif +extern uma_zone_t unisig_vc_zone; /* * Local variables @@ -173,7 +176,7 @@ sscf_uni_lower(cmd, tok, arg1, arg2) sscf_uni_abort(uvp, "sscf_uni: TERM failure\n"); return; } - atm_free((caddr_t)uvp); + uma_zfree(unisig_vc_zone, uvp); sscf_uni_vccnt--; break; |