Merge pull request #8 from freddy77/reappearing
Rescan IRQs if we detect an irq count overflow (caused by irqs being free and reallocated)
This commit is contained in:
commit
55aa3e9bf1
|
@ -181,6 +181,14 @@ void parse_proc_interrupts(void)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* IRQ removed and reinserted, need restart or this will
|
||||||
|
* cause an overflow and IRQ won't be rebalanced again
|
||||||
|
*/
|
||||||
|
if (count < info->irq_count) {
|
||||||
|
need_rescan = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
info->last_irq_count = info->irq_count;
|
info->last_irq_count = info->irq_count;
|
||||||
info->irq_count = count;
|
info->irq_count = count;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue