Messages in this thread | | | Date | Thu, 24 Jan 2013 11:03:07 -0800 | From | Tejun Heo <> | Subject | Re: [PATCHSET] workqueue: remove gcwq and make worker_pool the only backend abstraction |
| |
On Wed, Jan 16, 2013 at 05:42:32PM -0800, Tejun Heo wrote: > Currently, on the backend side, there are two layers of abstraction. > For each CPU and the special unbound wq-specific CPU, there's one > global_cwq. gcwq in turn hosts two worker_pools - one for normal > priority, the other for highpri - each of which actually serves the > work items. > > worker_pool is the later addition to support separate pool of workers > for highpri workqueues. Stuff was moved to worker_pool on as-needed > basis and, as a result, the two pools belonging to the same CPU share > some stuff in the gcwq - most notably the lock and the hash table for > work items currently being executed.
Applied to wq/for-3.9.
Thanks!
-- tejun
| |