OSDN Git Service

workqueue: Remove the cacheline_aligned for nr_running
authorLai Jiangshan <laijs@linux.alibaba.com>
Tue, 7 Dec 2021 07:35:42 +0000 (15:35 +0800)
committerTejun Heo <tj@kernel.org>
Thu, 9 Dec 2021 22:26:54 +0000 (12:26 -1000)
commit84f91c62d675480ffd3d870ee44c07965cbd8b21
tree585a176feee7061b5921ba5ee06f9e9a1de6542a
parent989442d73757868118a73b92732b549a73c9ce35
workqueue: Remove the cacheline_aligned for nr_running

nr_running is never modified remotely after the schedule callback in
wakeup path is removed.

Rather nr_running is often accessed with other fields in the pool
together, so the cacheline_aligned for nr_running isn't needed.

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