[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181203153540.GF31795@redhat.com>
Date: Mon, 3 Dec 2018 16:35:41 +0100
From: Oleg Nesterov <oleg@...hat.com>
To: Roman Gushchin <guroan@...il.com>
Cc: Tejun Heo <tj@...nel.org>,
Dan Carpenter <dan.carpenter@...cle.com>,
Mike Rapoport <rppt@...ux.vnet.ibm.com>,
cgroups@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-team@...com,
Roman Gushchin <guro@...com>
Subject: Re: [PATCH v4 4/7] cgroup: cgroup v2 freezer
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.
Powered by blists - more mailing lists