| From a23ca20c7d19e5d1ffccb58e50625afa4984b2af Mon Sep 17 00:00:00 2001 |
| From: Arnaldo Carvalho de Melo <acme@redhat.com> |
| Date: Fri, 3 Jul 2009 08:30:00 -0500 |
| Subject: [PATCH] posix-timers: Shorten posix_cpu_timers/<CPU> kernel thread names |
| |
| commit 80e7149966ee8fb4a12fa9eb7a4c7dc99d38d979 in tip. |
| |
| Shorten the softirq kernel thread names because they always overflow the |
| limited comm length, appearing as "posix_cpu_timer" CPU# times. |
| |
| Done on 2.6.24.7, but probably applicable to later kernels. |
| |
| 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> |
| |
| diff --git a/kernel/posix-cpu-timers.c b/kernel/posix-cpu-timers.c |
| index 36994bc..c35bfa3 100644 |
| --- a/kernel/posix-cpu-timers.c |
| +++ b/kernel/posix-cpu-timers.c |
| @@ -1552,7 +1552,7 @@ static int posix_cpu_thread_call(struct notifier_block *nfb, |
| 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; |
| -- |
| 1.7.1.1 |
| |