diff options
author | jeff <jeff@FreeBSD.org> | 2002-04-30 04:26:34 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2002-04-30 04:26:34 +0000 |
commit | 06a56984b5d6914defdf297800b55556596749a4 (patch) | |
tree | b4c7a4980a19a06cb96cd168f9300c8333294037 /sys/kern/kern_malloc.c | |
parent | 07648d50d3b80e5ed7439254ef9e41d47f19d0c5 (diff) | |
download | FreeBSD-src-06a56984b5d6914defdf297800b55556596749a4.zip FreeBSD-src-06a56984b5d6914defdf297800b55556596749a4.tar.gz |
Move the implementation of M_ZERO into UMA so that it can be passed to
uma_zalloc and friends. Remove this functionality from the malloc wrapper.
Document this change in uma.h and adjust variable names in uma_core.
Diffstat (limited to 'sys/kern/kern_malloc.c')
-rw-r--r-- | sys/kern/kern_malloc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c index d1b7269..cfc4472 100644 --- a/sys/kern/kern_malloc.c +++ b/sys/kern/kern_malloc.c @@ -183,9 +183,6 @@ out: if (ksp->ks_memuse > ksp->ks_maxused) ksp->ks_maxused = ksp->ks_memuse; - /* XXX: Do idle pre-zeroing. */ - if (va != NULL && (flags & M_ZERO)) - bzero(va, size); return ((void *) va); } |