mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-24 07:40:52 +00:00
ithread: Annotate a branch in ithread_execute_handlers()
No functional change intended. Reviewed by: kib, jhb MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D45491
This commit is contained in:
parent
177624f2f4
commit
c122d7ffad
@ -1203,8 +1203,9 @@ ithread_execute_handlers(struct proc *p, struct intr_event *ie)
|
||||
* 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(
|
||||
|
Loading…
Reference in New Issue
Block a user