sysctl: make kernel.ns_last_pid control dependent on CHECKPOINT_RESTORE
authorCyrill Gorcunov <gorcunov@gmail.com>
Thu, 31 May 2012 23:26:42 +0000 (16:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 1 Jun 2012 00:49:32 +0000 (17:49 -0700)
commit98ed57eef9f67dfe541be0bca34660ffc88365b2
tree1dee418c15205a31a811597587bdec9d1bc0cdd2
parentac34ebb3a67e699edcb5ac72f19d31679369dfaa
sysctl: make kernel.ns_last_pid control dependent on CHECKPOINT_RESTORE

For those who doesn't need C/R functionality there is no need to control
last pid, ie the pid for the next fork() call.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/pid_namespace.c