diff -Nru irqbalance-1.0.6/debian/changelog irqbalance-1.0.6/debian/changelog --- irqbalance-1.0.6/debian/changelog 2014-08-21 11:32:23.000000000 -0400 +++ irqbalance-1.0.6/debian/changelog 2015-07-10 18:08:35.000000000 -0300 @@ -1,3 +1,10 @@ +irqbalance (1.0.6-2ubuntu2) utopic; urgency=medium + + * d/p/0001-bug-893478_warn-once.patch: Only warn once + for affinity hint subset empty irqs. (LP: #1321425). + + -- Jorge Niedbalski Fri, 10 Jul 2015 18:07:43 -0300 + irqbalance (1.0.6-2ubuntu1) utopic; urgency=medium * Add support for the $OPTIONS configuration variable in the diff -Nru irqbalance-1.0.6/debian/patches/0001-bug-893478_warn-once.patch irqbalance-1.0.6/debian/patches/0001-bug-893478_warn-once.patch --- irqbalance-1.0.6/debian/patches/0001-bug-893478_warn-once.patch 1969-12-31 21:00:00.000000000 -0300 +++ irqbalance-1.0.6/debian/patches/0001-bug-893478_warn-once.patch 2015-07-10 18:07:40.000000000 -0300 @@ -0,0 +1,83 @@ +Description: Only warn once for affinity hint +subset empty irqs. (LP: #1321425). + +Origin: upstream, https://github.com/Irqbalance/irqbalance/commit/c9e5f36fe91d2d04d013d96f1093419245585de7 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1321425 + +--- irqbalance-1.0.6.orig/activate.c ++++ irqbalance-1.0.6/activate.c +@@ -1,26 +1,26 @@ +-/* ++/* + * Copyright (C) 2006, Intel Corporation +- * Copyright (C) 2012, Neil Horman +- * ++ * Copyright (C) 2012, Neil Horman ++ * + * This file is part of irqbalance + * + * This program file is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; version 2 of the License. +- * ++ * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. +- * ++ * + * You should have received a copy of the GNU General Public License +- * along with this program in a file named COPYING; if not, write to the +- * Free Software Foundation, Inc., +- * 51 Franklin Street, Fifth Floor, ++ * along with this program in a file named COPYING; if not, write to the ++ * Free Software Foundation, Inc., ++ * 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +-/* ++/* + * This file contains the code to communicate a selected distribution / mapping + * of interrupts to the kernel. + */ +@@ -84,11 +84,14 @@ static void activate_mapping(struct irq_ + if ((hint_policy == HINT_POLICY_SUBSET) && + (!cpus_empty(info->affinity_hint))) { + cpus_and(applied_mask, applied_mask, info->affinity_hint); +- if (!cpus_intersects(applied_mask, unbanned_cpus)) +- log(TO_ALL, LOG_WARNING, +- "irq %d affinity_hint subset empty\n", +- info->irq); +- else ++ if (!cpus_intersects(applied_mask, unbanned_cpus)) { ++ if (!info->warned) { ++ info->warned = 1; ++ log(TO_ALL, LOG_WARNING, ++ "irq %d affinity_hint subset empty\n", ++ info->irq); ++ } ++ } else + valid_mask = 1; + } else { + valid_mask = 1; +@@ -96,7 +99,7 @@ static void activate_mapping(struct irq_ + } + + /* +- * Don't activate anything for which we have an invalid mask ++ * Don't activate anything for which we have an invalid mask + */ + if (!valid_mask || check_affinity(info, applied_mask)) + return; +--- irqbalance-1.0.6.orig/types.h ++++ irqbalance-1.0.6/types.h +@@ -63,6 +63,7 @@ struct irq_info { + uint64_t load; + int moved; + struct topo_obj *assigned_obj; ++ unsigned int warned; + }; + + #endif diff -Nru irqbalance-1.0.6/debian/patches/series irqbalance-1.0.6/debian/patches/series --- irqbalance-1.0.6/debian/patches/series 2013-06-06 06:22:45.000000000 -0400 +++ irqbalance-1.0.6/debian/patches/series 2015-07-10 18:07:40.000000000 -0300 @@ -1 +1,2 @@ irqbalance.1.patch +0001-bug-893478_warn-once.patch