]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
workqueue: separate out worker_pool flags
authorTejun Heo <tj@kernel.org>
Thu, 12 Jul 2012 21:46:37 +0000 (14:46 -0700)
committerTejun Heo <tj@kernel.org>
Thu, 12 Jul 2012 21:46:37 +0000 (14:46 -0700)
commit11ebea50dbc1ade5994b2c838a096078d4c02399
treec0553ac78d52512ee1c2dfe65049554898dd6638
parent63d95a9150ee3bbd4117fcd609dee40313b454d9
workqueue: separate out worker_pool flags

GCWQ_MANAGE_WORKERS, GCWQ_MANAGING_WORKERS and GCWQ_HIGHPRI_PENDING
are per-pool properties.  Add worker_pool->flags and make the above
three flags per-pool flags.

The changes in this patch are mechanical and don't caues any
functional difference.  This is to prepare for multiple pools per
gcwq.

Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c