diff options
author | 2013-01-24 11:01:33 -0800 | |
---|---|---|
committer | 2013-01-24 11:01:33 -0800 | |
commit | 2464757086b4de0591738d5e30f069d068d70ec0 (patch) | |
tree | 2e7994351d92c24fc20fdb38108a64342bef0daf /lib/spinlock_debug.c | |
parent | workqueue: use std_ prefix for the standard per-cpu pools (diff) | |
download | linux-dev-2464757086b4de0591738d5e30f069d068d70ec0.tar.xz linux-dev-2464757086b4de0591738d5e30f069d068d70ec0.zip |
workqueue: make GCWQ_DISASSOCIATED a pool flag
Make GCWQ_DISASSOCIATED a pool flag POOL_DISASSOCIATED. This patch
doesn't change locking - DISASSOCIATED on both pools of a CPU are set
or clear together while holding gcwq->lock. It shouldn't cause any
functional difference.
This is part of an effort to remove global_cwq and make worker_pool
the top level abstraction, which in turn will help implementing worker
pools with user-specified attributes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions