Skip to contentSkip to conversation

shorten softirq kernel thread names

PATCH New Peter Zijlstra 1 participant 1 message Apr 4, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 shorten softirq kernel thread names

Subject: -rt: shorten softirq kernel thread names

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

---

kernel/softirq.c +1 -1
index a9e1b08..385ed5b 100644
@@ -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,