lkml.org 
[lkml]   [2006]   [Jan]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 29 Jan 2006 00:33:38 -0800
FromAndrew Morton <>
SubjectRe: [PATCH] pid: Don't hash pid 0.
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.
-
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/

\
 
 \ /
  Last update: 2006-01-29 08:38    [from the cache]
©2003-2008