cgroups: more documentation for remount and release_agent
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 2 Apr 2009 23:57:28 +0000 (16:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:04:54 +0000 (19:04 -0700)
commitb6719ec1ad54e47e40633b19703f2c1254708842
tree3db0fe0ec0a92a006562de9b012d2a89ddce19eb
parent66bdc9cfc77ba89a9ee6c82d28375b646ab4bb1d
cgroups: more documentation for remount and release_agent

This won't remove cpuacct from the mounted hierachy:
 # mount -t cgroup -o cpu,cpuacct xxx /mnt
 # mount -o remount,cpu /mnt

Because for this usage mount(8) will append the new options to the original
options.

And this will get you right:
 # mount [-t cgroup] -o remount,cpu xxx /mnt

Also document how to specify or change release_agent.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Reviewd-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: 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/cgroups.txt