Re: [PATCH 5/6] cgroup, cpuset: don't use ss->pre_attach()

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


On Fri, 26 Aug 2011 00:43:11 +0200
Tejun Heo <tj@xxxxxxxxxx> wrote:

> ->pre_attach() is supposed to be called before migration, which is
> observed during process migration but task migration does it the other
> way around. The only ->pre_attach() user is cpuset which can do the
> same operaitons in ->can_attach(). Collapse cpuset_pre_attach() into
> cpuset_can_attach().
>
> -v2: Patch contamination from later patch removed. Spotted by Paul
> Menage.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Acked-by: 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/