2012-06-17 19:52:06 +00:00
|
|
|
From c70d7bbfe3feea245d70f5fc5ebae17f03060cc6 Mon Sep 17 00:00:00 2001
|
2011-11-20 00:01:55 +00:00
|
|
|
From: Arnaldo Carvalho de Melo <acme@redhat.com>
|
|
|
|
Date: Fri, 3 Jul 2009 08:30:00 -0500
|
2012-06-17 19:52:06 +00:00
|
|
|
Subject: [122/254] posix-timers: Shorten posix_cpu_timers/<CPU> kernel thread
|
|
|
|
names
|
2011-11-20 00:01:55 +00:00
|
|
|
|
|
|
|
Shorten the softirq kernel thread names because they always overflow the
|
|
|
|
limited comm length, appearing as "posix_cpu_timer" CPU# times.
|
|
|
|
|
|
|
|
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
|
|
|
|
Signed-off-by: Ingo Molnar <mingo@elte.hu>
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
---
|
|
|
|
kernel/posix-cpu-timers.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2012-06-17 19:52:06 +00:00
|
|
|
diff --git a/kernel/posix-cpu-timers.c b/kernel/posix-cpu-timers.c
|
|
|
|
index 63468d1..09eb469 100644
|
|
|
|
--- a/kernel/posix-cpu-timers.c
|
|
|
|
+++ b/kernel/posix-cpu-timers.c
|
|
|
|
@@ -1451,7 +1451,7 @@ static int posix_cpu_thread_call(struct notifier_block *nfb,
|
2011-11-20 00:01:55 +00:00
|
|
|
switch (action) {
|
|
|
|
case CPU_UP_PREPARE:
|
|
|
|
p = kthread_create(posix_cpu_timers_thread, hcpu,
|
|
|
|
- "posix_cpu_timers/%d",cpu);
|
|
|
|
+ "posixcputmr/%d",cpu);
|
|
|
|
if (IS_ERR(p))
|
|
|
|
return NOTIFY_BAD;
|
|
|
|
p->flags |= PF_NOFREEZE;
|