Re: [PATCH for-4.6] cgroup: ignore css_sets associated with dead cgroups during migration

2016-03-19 Thread Tejun Heo
On Tue, Mar 15, 2016 at 08:43:04PM -0400, Tejun Heo wrote: > Before 2e91fa7f6d45 ("cgroup: keep zombies associated with their > original cgroups"), all dead tasks were associated with init_css_set. > If a zombie task is requested for migration, while migration prep > operations would still be perfo

Re: [PATCH for-4.6] cgroup: ignore css_sets associated with dead cgroups during migration

2016-03-19 Thread Tejun Heo
On Wed, Mar 16, 2016 at 11:45:27AM +0100, Peter Zijlstra wrote: > This doesn't fix the problem that those zombies might actually still > want to use the cgroups they're tied to, as reported here: > > lkml.kernel.org/r/20160314112057.gt6...@twins.programming.kicks-ass.net > > I would strongly su

Re: [PATCH for-4.6] cgroup: ignore css_sets associated with dead cgroups during migration

2016-03-16 Thread Peter Zijlstra
On Tue, Mar 15, 2016 at 08:43:04PM -0400, Tejun Heo wrote: > Before 2e91fa7f6d45 ("cgroup: keep zombies associated with their > original cgroups"), all dead tasks were associated with init_css_set. > If a zombie task is requested for migration, while migration prep > operations would still be perfo

[PATCH for-4.6] cgroup: ignore css_sets associated with dead cgroups during migration

2016-03-15 Thread Tejun Heo
Before 2e91fa7f6d45 ("cgroup: keep zombies associated with their original cgroups"), all dead tasks were associated with init_css_set. If a zombie task is requested for migration, while migration prep operations would still be performed on init_css_set, the actual migration would ignore zombie task