workqueue: Convert the type of pool->nr_running to int
authorLai Jiangshan <laijs@linux.alibaba.com>
Thu, 23 Dec 2021 12:31:40 +0000 (20:31 +0800)
committerTejun Heo <tj@kernel.org>
Wed, 12 Jan 2022 17:46:36 +0000 (07:46 -1000)
commitbc35f7ef96284b8c963991357a9278a6beafca54
tree40b665cfe0a8f6539bcd094aa6d21aa26078320d
parentcc5bff38463e0894dd596befa99f9d6860e15f5e
workqueue: Convert the type of pool->nr_running to int

It is only modified in associated CPU, so it doesn't need to be atomic.

tj: Comment updated.

Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c