]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc837e94153f5ad6bdfc639699ef8c57a2299690e
tree1dee418c15205a31a811597587bdec9d1bc0cdd2
parent244111cc4105d04f835647dc4f5ff1661f3e3678
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