workqueue: remove worker_pool->gcwq
authorTejun Heo <tj@kernel.org>
Thu, 24 Jan 2013 19:01:34 +0000 (11:01 -0800)
committerTejun Heo <tj@kernel.org>
Thu, 24 Jan 2013 19:01:34 +0000 (11:01 -0800)
commit4e8f0a609677a25f504527e50981df146c5b3d08
treee8fc37f309cf58c18bc2d0f0dfc00ccbadda7f4d
parent38db41d984f17938631420ff78160dda7f182d24
workqueue: remove worker_pool->gcwq

The only remaining user of pool->gcwq is std_worker_pool_pri().
Reimplement it using get_gcwq() and remove worker_pool->gcwq.

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>
kernel/workqueue.c