Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757536AbYHMSof (ORCPT ); Wed, 13 Aug 2008 14:44:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751182AbYHMSo0 (ORCPT ); Wed, 13 Aug 2008 14:44:26 -0400 Received: from mx1.redhat.com ([66.187.233.31]:58361 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751164AbYHMSoZ (ORCPT ); Wed, 13 Aug 2008 14:44:25 -0400 Date: Wed, 13 Aug 2008 15:42:11 -0300 From: Arnaldo Carvalho de Melo To: Steven Rostedt Cc: Clark Williams , Luiz =?iso-8859-1?Q?Cl=E1udio_Gon=E7alves?= , linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] rt: shorten posix_cpu_timers/ kernel thread names Message-ID: <20080813184211.GD2240@ghostprotocols.net> Mail-Followup-To: Arnaldo Carvalho de Melo , Steven Rostedt , Clark Williams , Luiz =?iso-8859-1?Q?Cl=E1udio_Gon=E7alves?= , linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 961 Lines: 23 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 --- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/