lkml.org 
[lkml]   [2008]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH -rt] shorten softirq kernel thread names
From
Date
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@chello.nl>
---
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,



\
 
 \ /
  Last update: 2008-04-04 17:45    [W:0.060 / U:1.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site