]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Adjust the interrupt storm handling code to better handle a storm. When
authorjhb <jhb@FreeBSD.org>
Tue, 16 Nov 2004 16:09:46 +0000 (16:09 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 16 Nov 2004 16:09:46 +0000 (16:09 +0000)
commit9933c3bdef5c40de3dd15bd8c8e456f64ad93de9
treec9888c5d256813195a29a3dfb6f04ca613008944
parent79cd9caa774b550ac404b756bf3e0ac20244c6ec
Adjust the interrupt storm handling code to better handle a storm.  When
a storm is detected, enter "storming" mode which throttles the interrupt
source such that the handlers are run once every clock tick.  Previously
we allowed a full set of storm_threshold interations through the handler
before going back to sleep.  Also, this currently will intentionally exit
storming mode once a second to see if the storm has passed.

Tested by: marcus
Discussed with: bde
sys/kern/kern_intr.c