public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Rename "swapper" to "idle"
@ 2006-04-20 23:15 Hua Zhong
  2006-04-21  0:17 ` Steven Rostedt
  2006-04-21  0:35 ` Bernd Eckenfels
  0 siblings, 2 replies; 9+ messages in thread
From: Hua Zhong @ 2006-04-20 23:15 UTC (permalink / raw)
  To: Linux-kernel, akpm, torvalds

This patch renames the "swapper" process (pid 0) to a more appropriate name "idle". The name "swapper" is not obviously meaningful and confuses a lot of people (e.g., when seen in oops report).

Patch not tested, but I guess it works. :-)

Signed-off-by: Hua Zhong <hzhong@gmail.com>

diff --git a/include/linux/init_task.h b/include/linux/init_task.h
index 41ecbb8..5e3ca4f 100644
--- a/include/linux/init_task.h
+++ b/include/linux/init_task.h
@@ -108,7 +108,7 @@ #define INIT_TASK(tsk)      \
        .cap_permitted  = CAP_FULL_SET,                                 \
        .keep_capabilities = 0,                                         \
        .user           = INIT_USER,                                    \
-       .comm           = "swapper",                                    \
+       .comm           = "idle",                                       \
        .thread         = INIT_THREAD,                                  \
        .fs             = &init_fs,                                     \
        .files          = &init_files,                                  \

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-04-21 17:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-20 23:15 [PATCH] Rename "swapper" to "idle" Hua Zhong
2006-04-21  0:17 ` Steven Rostedt
2006-04-21  0:35 ` Bernd Eckenfels
2006-04-21  4:18   ` Joshua Hudson
2006-04-21  5:19     ` Hua Zhong
2006-04-21 14:40       ` Mikado
2006-04-21 14:56         ` Michael Buesch
2006-04-21 15:08           ` Jan Engelhardt
2006-04-21 17:05             ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox