diff --git a/kernel/sched/psi.c b/kernel/sched/psi.c index ee2ecc081422eab3244ec6f5b6b1f67e13203f03..7f40d87e8f509b7efcd5dabd9ae3527bbc9f808a 100644 --- a/kernel/sched/psi.c +++ b/kernel/sched/psi.c @@ -539,10 +539,12 @@ static u64 update_triggers(struct psi_group *group, u64 now) /* Calculate growth since last update */ growth = window_update(&t->win, now, total[t->state]); - if (growth < t->threshold) - continue; + if (!t->pending_event) { + if (growth < t->threshold) + continue; - t->pending_event = true; + t->pending_event = true; + } } /* Limit event signaling to once per window */ if (now < t->last_event_time + t->win.size)