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

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

On Fri, 26 Aug 2011 00:43:11 +0200
Tejun Heo <tj at kernel.org> 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 at kernel.org>
> Acked-by: 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