diff options
author | jlemon <jlemon@FreeBSD.org> | 2001-09-30 17:00:56 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2001-09-30 17:00:56 +0000 |
commit | a5d12801498b0c470fdcbec08e0ed4726c3fae4f (patch) | |
tree | 3328d4867cddc79a63921a6a183e68a717c493b6 | |
parent | 9db513e93bfdd0eff78ad18504e01ad989d0faf8 (diff) | |
download | FreeBSD-src-a5d12801498b0c470fdcbec08e0ed4726c3fae4f.zip FreeBSD-src-a5d12801498b0c470fdcbec08e0ed4726c3fae4f.tar.gz |
When FREE()ing kqueue related structures, charge them to the correct bucket.
Submitted by: iedowse
Forgotten by: jlemon
-rw-r--r-- | sys/kern/kern_descrip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index e5dec1c..d28a798 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -44,6 +44,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/lock.h> +#include <sys/malloc.h> #include <sys/mutex.h> #include <sys/sysproto.h> #include <sys/conf.h> @@ -56,7 +57,6 @@ #include <sys/stat.h> #include <sys/filio.h> #include <sys/fcntl.h> -#include <sys/malloc.h> #include <sys/unistd.h> #include <sys/resourcevar.h> #include <sys/event.h> @@ -1182,9 +1182,9 @@ fdfree(td) if (fdp->fd_jdir) vrele(fdp->fd_jdir); if (fdp->fd_knlist) - FREE(fdp->fd_knlist, M_TEMP); + FREE(fdp->fd_knlist, M_KQUEUE); if (fdp->fd_knhash) - FREE(fdp->fd_knhash, M_TEMP); + FREE(fdp->fd_knhash, M_KQUEUE); FREE(fdp, M_FILEDESC); } |