]> git.baikalelectronics.ru Git - kernel.git/commit
cgroup: mark "tasks" cgroup file as insane
authorTejun Heo <tj@kernel.org>
Tue, 4 Jun 2013 02:13:02 +0000 (19:13 -0700)
committerTejun Heo <tj@kernel.org>
Wed, 5 Jun 2013 19:00:33 +0000 (12:00 -0700)
commit5dc1c7fe596f5c24564a13a13a015dd8aa5210c0
tree528b2de790c9d32097292eb2bc88e29a15e3cc29
parent5faa2b5b32813f3530a9a1558542025a30c64904
cgroup: mark "tasks" cgroup file as insane

Some resources controlled by cgroup aren't per-task and cgroup core
allowing threads of a single thread_group to be in different cgroups
forced memcg do explicitly find the group leader and use it.  This is
gonna be nasty when transitioning to unified hierarchy and in general
we don't want and won't support granularity finer than processes.

Mark "tasks" with CFTYPE_INSANE.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Balbir Singh <bsingharora@gmail.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: cgroups@vger.kernel.org
Cc: Vivek Goyal <vgoyal@redhat.com>
kernel/cgroup.c