cpusets: document adding/removing cpus to cpuset elaborately
authorNikanth Karthikesan <knikanth@suse.de>
Tue, 30 Jun 2009 18:41:36 +0000 (11:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Jul 2009 01:56:01 +0000 (18:56 -0700)
commitb37f2d4de6dfce4bfd6df311af80e4d61458ee1e
tree1d823c4f80e32dd7020212c60b08f9fa60ff3f9a
parentd7831a0bdf06b9f722b947bb0c205ff7d77cebd8
cpusets: document adding/removing cpus to cpuset elaborately

By writing a tasks's pid to the file, a process adds that task to that
cgroup/cpuset.  But to add a cpu/mem to a cpuset, the new list of cpus
should be written to the cpuset.mems file which would replace the old list
of cpus.  Make this clearer in the documentation.

Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/cgroups/cpusets.txt