[PATCH -rt] shorten softirq kernel thread names

From: Peter Zijlstra
Date: Fri Apr 04 2008 - 11:43:20 EST


Subject: -rt: shorten softirq kernel thread names

Shorten the softirq kernel thread names because they often overflow
the limited comm length.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
---
diff --git a/kernel/softirq.c b/kernel/softirq.c
index a9e1b08..385ed5b 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -923,7 +923,7 @@ static int __cpuinit cpu_callback(struct notifier_block *nfb,
for (i = 0; i < MAX_SOFTIRQ; i++) {
p = kthread_create(ksoftirqd,
&per_cpu(ksoftirqd, hotcpu)[i],
- "softirq-%s/%d", softirq_names[i],
+ "sirq-%s/%d", softirq_names[i],
hotcpu);
if (IS_ERR(p)) {
printk("ksoftirqd %d for %i failed\n", i,


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/