Re: [PATCH v2] cgroup: Use data_race() for task->flags in task_css_set_check()

From: Tejun Heo

Date: Thu Jun 25 2026 - 17:20:13 EST


Hello,

On Thu, Jun 25, 2026 at 09:39:44AM +0800, Guopeng Zhang wrote:
> task_css_set_check() uses rcu_dereference_check() to verify that
> task->cgroups can be dereferenced. One accepted condition is that the
> task is already exiting, tested by checking PF_EXITING in task->flags.

Applied to cgroup/for-7.3.

Thanks.

--
tejun