[PATCH 1/6] cgroup: subsys->attach_task() should be called after migration

KAMEZAWA Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Thu Aug 25 21:12:26 PDT 2011


On Fri, 26 Aug 2011 00:43:07 +0200
Tejun Heo <tj at kernel.org> wrote:

> cgroup_attach_task() calls subsys->attach_task() after
> cgroup_task_migrate(); however, cgroup_attach_proc() calls it before
> migration.  This actually affects some of the users.  Update
> cgroup_attach_proc() such that ->attach_task() is called after
> migration.
> 
> Signed-off-by: Tejun Heo <tj at kernel.org>
> Cc: Paul Menage <paul at paulmenage.org>
> Cc: Li Zefan <lizf at cn.fujitsu.com>'

Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at Jp.fujitsu.com>



More information about the Containers mailing list