commit | 92b69f509196fc5afc6a357511b864d372f42419 | [log] [tgz] |
---|---|---|
author | Lai Jiangshan <laijs@cn.fujitsu.com> | Tue Jun 03 15:33:08 2014 +0800 |
committer | Tejun Heo <tj@kernel.org> | Thu Jun 19 12:32:27 2014 -0400 |
tree | 8b1a01763814cc6dee4f97f278e4c84656bcf18f | |
parent | b62c075194f409ed887670af897ad22d44ed8ac8 [diff] |
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: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Tejun Heo <tj@kernel.org>