diff options
author | 2024-07-11 16:35:42 +0800 | |
---|---|---|
committer | 2024-07-11 12:50:34 -1000 | |
commit | fbb3d4c15dc0fe8a439de267db927a9ab2f44e98 (patch) | |
tree | 9ef57269918b71a00d02c73e4b87442ee919e685 /scripts/generate_rust_analyzer.py | |
parent | workqueue: Add wq_online_cpumask (diff) | |
download | linux-rng-fbb3d4c15dc0fe8a439de267db927a9ab2f44e98.tar.xz linux-rng-fbb3d4c15dc0fe8a439de267db927a9ab2f44e98.zip |
workqueue: Simplify wq_calc_pod_cpumask() with wq_online_cpumask
Avoid relying on cpu_online_mask for wqattrs changes so that
cpus_read_lock() can be removed from apply_wqattrs_lock().
And with wq_online_cpumask, attrs->__pod_cpumask doesn't need to be
reused as a temporary storage to calculate if the pod have any online
CPUs @attrs wants since @cpu_going_down is not in the wq_online_cpumask.
Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions