Tejun Heo
493008a8e4
workqueue: drop WQ_RESCUER and test workqueue->rescuer for NULL instead
...
WQ_RESCUER is superflous. WQ_MEM_RECLAIM indicates that the user
wants a rescuer and testing wq->rescuer for NULL can answer whether a
given workqueue has a rescuer or not. Drop WQ_RESCUER and test
wq->rescuer directly.
This will help simplifying __alloc_workqueue_key() failure path by
allowing it to use destroy_workqueue() on a partially constructed
workqueue, which in turn will help implementing dynamic management of
pool_workqueues.
While at it, clear wq->rescuer after freeing it in
destroy_workqueue(). This is a precaution as scheduled changes will
make destruction more complex.
This patch doesn't introduce any functional changes.
Signed-off-by: Tejun Heo <tj@kernel.org >
Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com >
2013-03-12 11:30:03 -07:00
..
2013-02-26 09:24:48 -08:00
2013-03-02 16:33:54 -08:00
2013-02-26 15:03:06 -08:00
2013-03-01 13:39:00 -08:00
2013-03-03 12:06:09 -08:00
2013-02-28 18:02:55 -08:00
2013-02-27 19:10:09 -08:00
2013-02-26 11:41:08 -08:00
2013-02-24 14:37:22 -05:00
2013-02-22 09:22:19 +02:00
2013-03-02 16:33:54 -08:00
2013-02-22 09:20:11 -08:00
2013-03-02 16:46:07 -08:00
2013-03-02 09:34:39 -08:00
2013-02-21 17:22:19 -08:00
2013-03-01 12:47:16 +01:00
2013-02-26 02:46:13 -05:00
2013-02-23 17:50:12 -08:00
2013-02-21 17:22:16 -08:00
2013-02-23 17:50:10 -08:00
2013-02-25 09:24:55 -05:00
2013-02-21 17:22:15 -08:00
2013-02-21 17:22:15 -08:00
2013-02-21 17:22:15 -08:00
2013-02-21 17:22:16 -08:00
2013-02-25 16:46:44 -08:00
2013-02-26 02:46:09 -05:00
2013-02-27 19:10:11 -08:00
2013-03-01 22:45:49 +00:00
2013-03-01 22:45:49 +00:00
2013-02-27 15:13:36 +05:30
2013-02-27 22:37:34 +05:30
2013-02-28 09:53:21 +05:30
2013-02-28 12:52:24 -08:00
2013-02-26 02:46:08 -05:00
2013-02-27 19:10:23 -08:00
2013-02-23 17:50:12 -08:00
2013-02-27 19:10:11 -08:00
2013-03-01 23:51:07 -05:00
2013-03-01 19:48:30 -05:00
2013-02-22 23:31:31 -05:00
2013-02-26 03:10:52 +11:00
2013-02-27 19:10:24 -08:00
2013-02-22 08:20:05 +01:00
2013-02-23 17:50:16 -08:00
2013-02-23 17:50:17 -08:00
2013-02-26 20:16:07 -08:00
2013-02-27 19:10:21 -08:00
2013-02-27 19:10:24 -08:00
2013-02-23 21:00:06 -05:00
2013-02-27 19:10:21 -08:00
2013-02-23 17:50:19 -08:00
2013-02-24 13:07:18 -08:00
2013-02-27 19:10:24 -08:00
2013-02-22 19:25:09 -08:00
2013-03-02 09:34:39 -08:00
2013-02-23 17:50:20 -08:00
2013-02-23 17:50:13 -08:00
2013-02-23 17:50:19 -08:00
2013-02-23 17:50:17 -08:00
2013-03-03 12:06:09 -08:00
2013-02-23 17:50:11 -08:00
2013-02-23 17:50:20 -08:00
2013-03-02 16:46:07 -08:00
2013-02-23 00:30:08 +01:00
2013-02-23 17:50:17 -08:00
2013-02-23 17:50:15 -08:00
2013-02-21 17:22:19 -08:00
2013-03-01 23:51:07 -05:00
2013-02-28 20:42:33 -08:00
2013-02-25 21:18:18 -08:00
2013-02-27 19:10:24 -08:00
2013-02-23 17:50:16 -08:00
2013-02-23 17:50:16 -08:00
2013-02-21 17:38:49 -08:00
2013-02-26 09:34:29 -08:00
2013-02-27 19:10:24 -08:00
2013-02-23 17:50:17 -08:00
2013-02-27 19:10:10 -08:00
2013-02-27 19:10:11 -08:00
2013-02-21 17:22:20 -08:00
2013-03-01 12:40:36 +01:00
2013-02-23 17:50:22 -08:00
2013-02-23 17:50:15 -08:00
2013-02-23 17:50:16 -08:00
2013-03-01 12:48:36 +01:00
2013-03-12 11:30:03 -07:00