Re: [PATCH v6 4/7] cgroup: cgroup v2 freezer

From: Oleg Nesterov
Date: Fri Jan 25 2019 - 08:46:07 EST


On 01/25, Oleg Nesterov wrote:
>
> One of the task is killed, it calls leave_frozen(). If I read this code path
> correctly, only ->nr_frozen_tasks will be decremented, so "frozen" will be
> "false" when cgroup_update_frozen() is called.

forgot to mention...

and I do not think cgroup_exit() can "fix" this, see another email I sent a minute
ago...

Oleg.