summaryrefslogtreecommitdiffstats
path: root/sys/kern/link_elf_obj.c
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2002-07-30 23:26:22 +0000
committeriedowse <iedowse@FreeBSD.org>2002-07-30 23:26:22 +0000
commite445eb7a9465d697261972132f571756f32004b1 (patch)
tree79896d74aa47f10ac2d9aa089d440bb1322eb651 /sys/kern/link_elf_obj.c
parent25ab0054a17992a5717dfa68b60804ebaafdcfda (diff)
downloadFreeBSD-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/link_elf_obj.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud