cgroup: mark "notify_on_release" and "release_agent" cgroup files insane
authorTejun Heo <tj@kernel.org>
Tue, 4 Jun 2013 02:13:55 +0000 (19:13 -0700)
committerTejun Heo <tj@kernel.org>
Wed, 5 Jun 2013 19:00:33 +0000 (12:00 -0700)
commitcc5943a7816ba6c00639837a62131386619548dc
tree53027a91d8fa13ef177292cdc32e2b87d56d8284
parentf12dc020149fad7087e119e54cffea668272bf7d
cgroup: mark "notify_on_release" and "release_agent" cgroup files insane

The empty cgroup notification mechanism currently implemented in
cgroup is tragically outdated.  Forking and execing userland process
stopped being a viable notification mechanism more than a decade ago.
We're gonna have a saner mechanism.  Let's make it clear that this
abomination is going away.

Mark "notify_on_release" and "release_agent" with CFTYPE_INSANE.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
kernel/cgroup.c