From: Li Zefan Date: Fri, 4 Jul 2008 16:59:55 +0000 (-0700) Subject: cgroups: document the effect of attaching PID 0 to a cgroup X-Git-Tag: v2.6.26-rc9~26 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bef67c5a7d3a9c45e091e36625c09c0c811e2672;p=pandora-kernel.git cgroups: document the effect of attaching PID 0 to a cgroup Document that a pid of zero(0) can be used to refer to the current task when attaching a task to a cgroup, as in the following usage: # echo 0 > /dev/cgroup/tasks This is consistent with existing cpuset behavior. Signed-off-by: Li Zefan Acked-by: Paul Jackson Acked-by: Dhaval Giani Cc: Paul Menage Cc: Balbir Singh Cc: Andrea Righi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed