Re: [PATCH] pid: Don't hash pid 0.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[email protected] (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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux