summaryrefslogtreecommitdiffstats
path: root/kernel/freezer.c
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@linux.alibaba.com>2021-12-23 13:31:38 +0100
committerTejun Heo <tj@kernel.org>2022-01-12 18:39:15 +0100
commit2c1f1a9180bfacbc3c8e5b10075640cc810cf9c0 (patch)
tree57e246d0e51bb8a65d680dd5189efb58bb98ea2c /kernel/freezer.c
parentworkqueue: Remove the mb() pair between wq_worker_sleeping() and insert_work() (diff)
downloadlinux-2c1f1a9180bfacbc3c8e5b10075640cc810cf9c0.tar.xz
linux-2c1f1a9180bfacbc3c8e5b10075640cc810cf9c0.zip
workqueue: Change the comments of the synchronization about the idle_list
The access to idle_list in wq_worker_sleeping() is changed to be protected by pool->lock, so the comments above idle_list can be changed to "L:" which is the meaning of "access with pool->lock held". And the outdated comments in wq_worker_sleeping() is removed since the function is not called with rq lock held any more, idle_list is dereferenced with pool lock now. Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/freezer.c')
0 files changed, 0 insertions, 0 deletions