[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080813184211.GD2240@ghostprotocols.net>
Date: Wed, 13 Aug 2008 15:42:11 -0300
From: Arnaldo Carvalho de Melo <acme@...hat.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Clark Williams <williams@...hat.com>,
Luiz Cláudio Gonçalves <lgoncalv@...hat.com>,
linux-rt-users@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] rt: 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: Arnaldo Carvalho de Melo <acme@...hat.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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists