[PATCH 16/31] workqueue: introduce workqueue_attrs

2013-03-01 Thread Tejun Heo
Introduce struct workqueue_attrs which carries worker attributes - currently the nice level and allowed cpumask along with helper routines alloc_workqueue_attrs() and free_workqueue_attrs(). Each worker_pool now carries ->attrs describing the attributes of its workers. All functions dealing with

[PATCH 16/31] workqueue: introduce workqueue_attrs

2013-03-01 Thread Tejun Heo
Introduce struct workqueue_attrs which carries worker attributes - currently the nice level and allowed cpumask along with helper routines alloc_workqueue_attrs() and free_workqueue_attrs(). Each worker_pool now carries -attrs describing the attributes of its workers. All functions dealing with