summaryrefslogtreecommitdiffstats
path: root/sys/dev/ramdisk.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2009-08-12 14:39:05 +0000
committerdlg <dlg@openbsd.org>2009-08-12 14:39:05 +0000
commit8e1e649af318f5cc93c94745aac2f58ad31e9e77 (patch)
tree5f59b6e981530938bb2935e93e4327a669b39776 /sys/dev/ramdisk.c
parentalways mark an xs complete if we're about to return COMPLETE to the (diff)
downloadwireguard-openbsd-8e1e649af318f5cc93c94745aac2f58ad31e9e77.tar.xz
wireguard-openbsd-8e1e649af318f5cc93c94745aac2f58ad31e9e77.zip
if we get dangerously low on clusters during interrupts, we need
to free some for use on the rx rings on network cards. this modifies m_cluncount to advise callers when we're in such a situation, and makes them responsible for freeing up the cluster for allocation by MCLGETI later. fixes an awesome lockup with sis(4) henning has been experiencing. this is not the best fix, but it is better than the current situation. yep deraadt@ tested by henning@
Diffstat (limited to 'sys/dev/ramdisk.c')
0 files changed, 0 insertions, 0 deletions