Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102724781
D45491.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
609 B
Referenced Files
None
Subscribers
None
D45491.diff
View Options
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -1203,8 +1203,9 @@
* number of back to back interrupts exceeds the storm threshold,
* then enter storming mode.
*/
- if (intr_storm_threshold != 0 && ie->ie_count >= intr_storm_threshold &&
- !(ie->ie_flags & IE_SOFT)) {
+ if (__predict_false(intr_storm_threshold != 0 &&
+ ie->ie_count >= intr_storm_threshold &&
+ (ie->ie_flags & IE_SOFT) == 0)) {
/* Report the message only once every second. */
if (ppsratecheck(&ie->ie_warntm, &ie->ie_warncnt, 1)) {
printf(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 9:45 AM (20 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14674259
Default Alt Text
D45491.diff (609 B)
Attached To
Mode
D45491: ithread: Annotate a branch in ithread_execute_handlers()
Attached
Detach File
Event Timeline
Log In to Comment