]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cgroup/cpuset: Remove stale text
authorCosta Shulyupin <costa.shul@redhat.com>
Wed, 4 Dec 2024 11:04:41 +0000 (13:04 +0200)
committerTejun Heo <tj@kernel.org>
Wed, 11 Dec 2024 06:38:41 +0000 (20:38 -1000)
commiteb1dd15fb26d9ad85204f444ef03f29f9049eb1e
treeb51f22160ea1a0f0388c8deab438ca6ee162632f
parentf92f4749861b06fed908d336b4dee1326003291b
cgroup/cpuset: Remove stale text

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@suse.com>
Co-developed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
Acked-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cpuset.c