| Date | Tue, 15 Nov 2011 01:51:35 +0100 | From | Frederic Weisbecker <> | Subject | Re: [PATCH 09/10] cgroup, cpuset: don't use ss->pre_attach() |
| |
On Tue, Nov 01, 2011 at 04:46:32PM -0700, Tejun Heo 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@kernel.org> > Acked-by: Paul Menage <paul@paulmenage.org> > Cc: Li Zefan <lizf@cn.fujitsu.com>
Reviewed-by: Frederic Weisbecker <fweisbec@gmail.com>
|