diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2009-08-12 14:39:06 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2009-08-12 14:39:06 +0000 |
commit | 41f7beea342b39552a07eda8d3b742194d8e7d63 (patch) | |
tree | 32b74803f7554c6cd3660bd5b77eb8914c8cde9f /sys/kern/kern_physio.c | |
parent | a2ad26eeed1b3dec69c188b30427179069a1ca49 (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/kern_physio.c')
0 files changed, 0 insertions, 0 deletions