Irqbalance / irqbalance

The irqbalance source tree - The new official site for irqbalance

Home Page:http://irqbalance.github.io/irqbalance/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

irqbalance never exits

andreas-schwab opened this issue · comments

irqbalance fails to exit after SIGTERM because parse_proc_interrupts always sets need_rescan. This happens because of this line in /proc/interrupts:

161: 0 0 48059000.gpio 25 Edge button S2

yeah, looks like the while (need_rescan | need_rebuild) { } loop needs to be augmented to be:
while (keep_going && (need_rescan || need_rebuild)) {}

I'm a bit tied up, can you submit a PR?