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

From: Oleg Nesterov
Date: Mon Dec 03 2018 - 10:35:54 EST


On 11/30, Roman Gushchin wrote:
>
> void recalc_sigpending(void)
> {
> if (!recalc_sigpending_tsk(current) && !freezing(current) &&
> - !klp_patch_pending(current))
> + !klp_patch_pending(current) && !cgroup_task_frozen(current))

I must have missed something... but shouldn't it check JOBCTL_TRAP_FREEZE
rather than ->frozen?

Oleg.