diff options
author | iedowse <iedowse@FreeBSD.org> | 2002-07-30 23:26:22 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2002-07-30 23:26:22 +0000 |
commit | e445eb7a9465d697261972132f571756f32004b1 (patch) | |
tree | 79896d74aa47f10ac2d9aa089d440bb1322eb651 /sys/kern/subr_param.c | |
parent | 25ab0054a17992a5717dfa68b60804ebaafdcfda (diff) | |
download | FreeBSD-src-e445eb7a9465d697261972132f571756f32004b1.zip FreeBSD-src-e445eb7a9465d697261972132f571756f32004b1.tar.gz |
Remove some strange code that allocates memory and then immediately
frees it again. The idea was to perform M_WAITOK allocations in a
process context to reduce the risk of later interrupt-context
M_NOWAIT allocations failing, but in fact this code can be called
from contexts where it is not desirable to sleep (e.g. if_start
routines), so it causes lots of witness "could sleep" warnings.
Diffstat (limited to 'sys/kern/subr_param.c')
0 files changed, 0 insertions, 0 deletions