summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_cluster.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2009-08-12 14:39:06 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2009-08-12 14:39:06 +0000
commit41f7beea342b39552a07eda8d3b742194d8e7d63 (patch)
tree32b74803f7554c6cd3660bd5b77eb8914c8cde9f /sys/kern/vfs_cluster.c
parenta2ad26eeed1b3dec69c188b30427179069a1ca49 (diff)
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/kern/vfs_cluster.c')
0 files changed, 0 insertions, 0 deletions