* [PATCH] rt: shorten posix_cpu_timers/<CPU> kernel thread names
@ 2008-08-13 18:42 Arnaldo Carvalho de Melo
0 siblings, 0 replies; only message in thread
From: Arnaldo Carvalho de Melo @ 2008-08-13 18:42 UTC (permalink / raw)
To: Steven Rostedt
Cc: Clark Williams, Luiz Cláudio Gonçalves, linux-rt-users,
linux-kernel
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>
--- linux-2.6.24.7.orig/kernel/posix-cpu-timers.c 2008-08-12 20:40:58.000000000 -0300
+++ linux-2.6.24.7/kernel/posix-cpu-timers.c 2008-08-12 20:52:27.000000000 -0300
@@ -1473,7 +1473,7 @@ static int posix_cpu_thread_call(struct
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-13 18:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-13 18:42 [PATCH] rt: shorten posix_cpu_timers/<CPU> kernel thread names Arnaldo Carvalho de Melo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.