Irqbalance / irqbalance

The irqbalance source tree - The new official site for irqbalance
http://irqbalance.github.io/irqbalance/
GNU General Public License v2.0
576 stars 139 forks source link

Slience "... rebalancing" messages for unmigratable IRQs #284

Closed StefanBruens closed 9 months ago

StefanBruens commented 9 months ago

It is fairly pointless to try migrating an IRQ which is known to be unmigratable.

Instead of using an extra flag, set the level to BALANCE_NONE, which shortcuts quite some code, and implicitly also disables the misleading repeated log message:

Dez 10 02:52:55 varm irqbalance[828]: Selecting irq 75 for rebalancing
Dez 10 02:52:55 varm irqbalance[828]: Cannot change IRQ 75 affinity: Input/output error
Dez 10 02:52:55 varm irqbalance[828]: IRQ 75 affinity is now unmanaged
...
Dez 10 02:52:55 varm irqbalance[828]: Selecting irq 75 for rebalancing
...
Dez 10 02:52:55 varm irqbalance[828]: Selecting irq 75 for rebalancing