Commit 80e71499 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo Committed by Thomas Gleixner

posix-timers: Shorten posix_cpu_timers/<CPU> kernel thread names

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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 14cbf680
...@@ -1542,7 +1542,7 @@ static int posix_cpu_thread_call(struct notifier_block *nfb, ...@@ -1542,7 +1542,7 @@ static int posix_cpu_thread_call(struct notifier_block *nfb,
switch (action) { switch (action) {
case CPU_UP_PREPARE: case CPU_UP_PREPARE:
p = kthread_create(posix_cpu_timers_thread, hcpu, p = kthread_create(posix_cpu_timers_thread, hcpu,
"posix_cpu_timers/%d",cpu); "posixcputmr/%d",cpu);
if (IS_ERR(p)) if (IS_ERR(p))
return NOTIFY_BAD; return NOTIFY_BAD;
p->flags |= PF_NOFREEZE; p->flags |= PF_NOFREEZE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment