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

From: KAMEZAWA Hiroyuki
Date: Fri Aug 26 2011 - 00:20:15 EST


On Fri, 26 Aug 2011 00:43:07 +0200
Tejun Heo <tj@xxxxxxxxxx> 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@xxxxxxxxxx>
> Cc: Paul Menage <paul@xxxxxxxxxxxxxx>
> Cc: Li Zefan <lizf@xxxxxxxxxxxxxx>'

Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/