diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2003-07-27 14:19:23 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2003-07-27 14:19:23 +0000 |
commit | 41c671f8e6e15727ceb276192cb5af39136159ac (patch) | |
tree | 7548f9fcda3c6250cff75443ac17f4af03254bbb /sys/kern/subr_mbuf.c | |
parent | 17f592156d8aee1547c88c8e48b24d5cd3e35a4e (diff) | |
download | FreeBSD-src-41c671f8e6e15727ceb276192cb5af39136159ac.zip FreeBSD-src-41c671f8e6e15727ceb276192cb5af39136159ac.tar.gz |
Now that we can call kmem_malloc without Giant it should be safe
to do mbuf allocation without Giant, so remove the GIANT_REQUIRED
from mb_alloc in the M_TRYWAIT case.
Diffstat (limited to 'sys/kern/subr_mbuf.c')
-rw-r--r-- | sys/kern/subr_mbuf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/subr_mbuf.c b/sys/kern/subr_mbuf.c index 8f24146..e7a4ff5 100644 --- a/sys/kern/subr_mbuf.c +++ b/sys/kern/subr_mbuf.c @@ -630,8 +630,6 @@ mb_alloc(struct mb_lstmngr *mb_list, int how, short type, short persist, how = M_TRYWAIT; } } - if ((flags & M_DONTWAIT) == 0) - GIANT_REQUIRED; #endif m = NULL; |