From: Hua Zhong <hzhong@gmail.com>
To: Linux-kernel <linux-kernel@vger.kernel.org>,
akpm@osdl.org, torvalds@osdl.org
Subject: [PATCH] Rename "swapper" to "idle"
Date: Thu, 20 Apr 2006 16:15:41 -0700 [thread overview]
Message-ID: <4448161D.9010109@gmail.com> (raw)
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, \
next reply other threads:[~2006-04-20 23:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-20 23:15 Hua Zhong [this message]
2006-04-21 0:17 ` [PATCH] Rename "swapper" to "idle" 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4448161D.9010109@gmail.com \
--to=hzhong@gmail.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox