From: Andrew Morton <akpm@osdl.org>
To: ebiederm@xmission.com (Eric W. Biederman)
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pid: Don't hash pid 0.
Date: Sun, 29 Jan 2006 00:33:38 -0800 [thread overview]
Message-ID: <20060129003338.28675b78.akpm@osdl.org> (raw)
In-Reply-To: <m1ek2rfsu9.fsf@ebiederm.dsl.xmission.com>
ebiederm@xmission.com (Eric W. Biederman) wrote:
>
> pid 0 is never exported to userspace, so hashing it servers no useful
> purpose.
uh-huh.
> Explicitly not hashing pid 0 allows struct pid to be marked as not
> hashed, and it allows us to avoid checks if for pid 0 when searching
> for processes to signal if pid 0 does not have a special meaning.
Were you planning on sending a patch to avoid those checks? Because right
now, this patch looks like a net loss.
next prev parent reply other threads:[~2006-01-29 8:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-29 6:31 Eric W. Biederman
2006-01-29 8:33 ` Andrew Morton [this message]
2006-01-29 10:04 ` Eric W. Biederman
2006-01-30 9:29 ` Jan Engelhardt
2006-01-30 9:44 ` Yuki Cuss
2006-01-30 9:49 ` Jan Engelhardt
2006-01-30 9:58 ` Nigel Cunningham
2006-01-30 10:59 Oleg Nesterov
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=20060129003338.28675b78.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=ebiederm@xmission.com \
--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®