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

Oren Laadan orenl at librato.com
Thu Sep 24 10:45:45 PDT 2009

Sukadev Bhattiprolu wrote:
> From: Serge Hallyn <serue at 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 at us.ibm.com>
> Signed-off-by: Sukadev Bhattiprolu <sukadev at us.ibm.com>

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

More information about the Containers mailing list