Package: irqbalance / 1.7.0-1

Metadata

Package Version Patches format
irqbalance 1.7.0-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
c8757c6d870c4788da4980abaf21cb7369702ee9.debpatch | (download)

activate.c | 8 6 + 2 - 0 !
1 file changed, 6 insertions(+), 2 deletions(-)

 [patch] activate_mapping: activate only online cpus

When echoing a mask to /proc/irq/N/smp_affinity make sure to activate
only CPUs which are online. Activating a CPU which is not online results
in a EOVERFLOW.

Originally fixed in Debian by Helge Deller <deller@gmx.de>.

b3f95beb62110ff6f808d04bd379aad108a2ae83.debpatch | (download)

cputree.c | 15 11 + 4 - 0 !
1 file changed, 11 insertions(+), 4 deletions(-)

 [patch] adjust how we determine if a cpu is online

https://github.com/Irqbalance/irqbalance/issues/159

recently brought to our attention that online cpu status isn't functional on all
arches.  Specifically on parisc, the availability of
/sys/devices/system/cpu/cpu<N>/online is in question.  The implication here is
that its not feasible to accurately determine cpu count, and as a result,
irqbalance doesn't work on that arch

Fix it by changing our online detection strategy.  The file
/sys/devices/system/cpu/online is a cpulist format file that seems to be present
accross all arches and configs.  As such, we can use this file to determine
online status per cpu reliably.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>