Re: [PATCH?] race between cgroup_subsys->fork() and cgroup_migrate()

From: Oleg Nesterov
Date: Thu Nov 26 2015 - 11:01:01 EST


On 11/25, Tejun Heo wrote:
>
> And I spotted a bug in cgroup core in controller enable path. While
> the race between fork and attach exists and needs to be fixed, I think
> the cgroup core bug is the main source of discrepancy. Will update
> once I learn more.

OK. I do not know what exactly do you mean, perhaps if you fix this problem
the race between fork and attach goes away and in this case the fix I sent
is not needed? I'll wait for more info.

Oleg.

--
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/