]> www.infradead.org Git - users/hch/xfs.git/commit
workqueue: Add wq_online_cpumask
authorLai Jiangshan <jiangshan.ljs@antgroup.com>
Thu, 11 Jul 2024 08:35:41 +0000 (16:35 +0800)
committerTejun Heo <tj@kernel.org>
Thu, 11 Jul 2024 22:50:34 +0000 (12:50 -1000)
commit8d84baf76045f5b9567581cde17e9c3d256bb073
tree95866953e62be672617142b1072c8d16c090f6f8
parent449b31ad2937406981685348ad75abefb1f63cba
workqueue: Add wq_online_cpumask

The new wq_online_mask mirrors the cpu_online_mask except during
hotplugging; specifically, it differs between the hotplugging stages
of workqueue_offline_cpu() and workqueue_online_cpu(), during which
the transitioning CPU is not represented in the mask.

Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c