Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f7053050 authored by Lai Jiangshan's avatar Lai Jiangshan Committed by alexax66
Browse files

workqueue: use manager lock only to protect worker_idr


worker_idr is highly bound to managers and is always/only accessed in manager
lock context. So we don't need pool->lock for it.

Signed-off-by: default avatarLai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarXileForce <rdaguiar360@gmail.com>

Original commit: https://github.com/ktoonsez/KTSGS6/commit/e95a650ebfaf915ccd702039ff110dd36d7a3f56
parent 9646be22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment