[tip: irq/core] genirq/cpuhotplug: Demote debug printk to KERN_DEBUG

From: tip-bot2 for Lee Jones
Date: Tue Aug 24 2021 - 03:20:54 EST


The following commit has been merged into the irq/core branch of tip:

Commit-ID: 88ffe2d0a55a165e55cedad1693f239d47e3e17e
Gitweb: https://git.kernel.org/tip/88ffe2d0a55a165e55cedad1693f239d47e3e17e
Author: Lee Jones <lee.jones@xxxxxxxxxx>
AuthorDate: Mon, 16 Aug 2021 14:48:17 +01:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Tue, 24 Aug 2021 09:16:20 +02:00

genirq/cpuhotplug: Demote debug printk to KERN_DEBUG

This sort of information is only generally useful when debugging.
No need to have these sprinkled through the kernel log otherwise.

Real world problem:

During pre-release testing these have an affect on performance on
real products. To the point where so much logging builds up, that
it sets off the watchdog(s) on some high profile consumer devices.

Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20210816134817.1503661-1-lee.jones@xxxxxxxxxx
---
kernel/irq/cpuhotplug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/irq/cpuhotplug.c b/kernel/irq/cpuhotplug.c
index 02236b1..39a41c5 100644
--- a/kernel/irq/cpuhotplug.c
+++ b/kernel/irq/cpuhotplug.c
@@ -166,7 +166,7 @@ void irq_migrate_all_off_this_cpu(void)
raw_spin_unlock(&desc->lock);

if (affinity_broken) {
- pr_warn_ratelimited("IRQ %u: no longer affine to CPU%u\n",
+ pr_debug_ratelimited("IRQ %u: no longer affine to CPU%u\n",
irq, smp_processor_id());
}
}