From: ebiederm@xmission.com (Eric W. Biederman)
To: Andrew Morton <akpm@osdl.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: [PATCH] pid: Since we aren't hashing pid 0 don't try
Date: Sun, 29 Jan 2006 14:44:15 -0700 [thread overview]
Message-ID: <m1vew27lqo.fsf@ebiederm.dsl.xmission.com> (raw)
This is a tidbit i missed in my code to stop hashing pid 0.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
---
kernel/pid.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
d634915984d3e2d7ac13aaff1ee0e23406fe0e74
diff --git a/kernel/pid.c b/kernel/pid.c
index 7c40310..aea6775 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -363,11 +363,4 @@ void __init pidmap_init(void)
pidmap_array->page = (void *)get_zeroed_page(GFP_KERNEL);
set_bit(0, pidmap_array->page);
atomic_dec(&pidmap_array->nr_free);
-
- /*
- * Allocate PID 0, and hash it via all PID types:
- */
-
- for (i = 0; i < PIDTYPE_MAX; i++)
- attach_pid(current, i, 0);
}
--
1.1.5.g3480
reply other threads:[~2006-01-29 21:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=m1vew27lqo.fsf@ebiederm.dsl.xmission.com \
--to=ebiederm@xmission.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®