]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9bdb6b4927d5e6c2fa86971773f0cad260512d66
tree585a176feee7061b5921ba5ee06f9e9a1de6542a
parentb7e613f6c22144230f9caf633943092d3f0ee459
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