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

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

workqueue: sanity check pool->cpu in wq_worker_sleeping()



In theory, pool->cpu is equals to @cpu in wq_worker_sleeping() after
worker->flags is checked.

And "pool->cpu != cpu" sanity check will help us if something wrong.

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

Original commit: https://github.com/mythos234/SimplKernel-LL-G925F/commit/914712648fc5f8e53b700dc373c8b267aa6f070e
parent bfa0224e
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