Re: [PATCH v2] cgroup/cpuset: Remove stale text
From: Tejun Heo
Date: Wed Dec 11 2024 - 01:39:18 EST
On Wed, Dec 04, 2024 at 01:04:41PM +0200, Costa Shulyupin wrote:
> Task's cpuset pointer was removed by
> commit 8793d854edbc ("Task Control Groups: make cpusets a client of cgroups")
>
> Paragraph "The task_lock() exception ...." was removed by
> commit 2df167a300d7 ("cgroups: update comments in cpuset.c")
>
> Remove stale text:
>
> We also require taking task_lock() when dereferencing a
> task's cpuset pointer. See "The task_lock() exception", at the end of this
> comment.
>
> Accessing a task's cpuset should be done in accordance with the
> guidelines for accessing subsystem state in kernel/cgroup.c
>
> and reformat.
>
> Co-developed-by: Michal Koutný <mkoutny@xxxxxxxx>
> Co-developed-by: Waiman Long <longman@xxxxxxxxxx>
> Signed-off-by: Costa Shulyupin <costa.shul@xxxxxxxxxx>
Applied to cgroup/for-6.13-fixes.
Thanks.
--
tejun