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.
This commit is contained in:
parent
ce92afe1ec
commit
e41cbeba6d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user