[PATCH v2 1/1] genirq/cpuhotplug: Bump debugging information print down to KERN_DEBUG

From: Lee Jones
Date: Mon Aug 16 2021 - 09:48:25 EST


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.

Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
Change-Id: I1ad66f05c33431e2a2b0765733c5536e835108e1
---
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 02236b13b3599..39a41c56ad4fe 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());
}
}
--
2.33.0.rc1.237.g0d66db33f3-goog