]> git.baikalelectronics.ru Git - kernel.git/commit
memcg: restructure mem_cgroup_can_attach()
authorTejun Heo <tj@kernel.org>
Tue, 8 Sep 2015 22:01:10 +0000 (15:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Sep 2015 22:35:28 +0000 (15:35 -0700)
commit0286fcca16726c0804b1f72d6e8f705cdfca7d7b
tree9e978b13e9fb24d33908ca6e9a066c3645d9f2fd
parent9ab4a1246a2e3ea9ade3a88508c90b71d66f453d
memcg: restructure mem_cgroup_can_attach()

Restructure it to lower nesting level and help the planned threadgroup
leader iteration changes.

This is pure reorganization.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Michal Hocko <mhocko@suse.cz>
Reviewed-by: Vladimir Davydov <vdavydov@parallels.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c