Re: [RFC][v7][PATCH 3/9] Make pid_max a pid_ns property

Oren Laadan
2009-09-24T17:45:50Z

Sukadev Bhattiprolu wrote:
>
> From: Serge Hallyn <serue@us.ibm.com>
> Subject: [RFC][v7][PATCH 3/9] Make pid_max a pid_ns property
>
> Remove the pid_max global, and make it a property of the
> pid_namespace. When a pid_ns is created, it inherits
> the parent's pid_ns.
>
> Fixing up sysctl (trivial akin to ipc version, but
> potentially tedious to get right for all CONFIG*
> combinations) is left for later.
>
> Changelog[v2]:
> - Port to newer kernel
> - Make pid_max a local variable in alloc_pidmap() to simplify code/patch
>
> Signed-off-by: Serge Hallyn <serue@us.ibm.com>
> Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>

Reviewed-by: Oren Laadan <orenl@cs.columbia.edu>