Lai Jiangshan
61d0fbb4b6
workqueue: use "pool->cpu < 0" to stand for an unbound pool
...
There is a piece of sanity checks code in the put_unbound_pool().
The meaning of this code is "if it is not an unbound pool, it will complain
and return" IIUC. But the code uses "pool->flags & POOL_DISASSOCIATED"
imprecisely due to a non-unbound pool may also have this flags.
We should use "pool->cpu < 0" to stand for an unbound pool, so we covert the
code to it.
There is no strictly wrong if we still keep "pool->flags & POOL_DISASSOCIATED"
here, but it is just a noise if we keep it:
1) we focus on "unbound" here, not "[dis]association".
2) "pool->cpu < 0" already implies "pool->flags & POOL_DISASSOCIATED".
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com >
Signed-off-by: Tejun Heo <tj@kernel.org >
2014-06-19 12:05:00 -04:00
..
2014-06-04 16:54:17 -07:00
2014-06-12 19:18:49 -07:00
2014-06-10 15:34:46 -07:00
2014-05-27 10:16:44 +02:00
2014-06-12 18:48:15 -07:00
2014-06-12 13:43:08 +02:00
2014-06-04 16:54:17 -07:00
2014-06-03 12:57:53 -07:00
2014-06-12 19:42:15 -07:00
2014-06-04 16:55:13 -07:00
2014-06-12 21:07:25 -07:00
2013-12-10 18:21:34 +00:00
2014-06-06 16:08:14 -07:00
2014-02-18 11:17:17 +01:00
2014-02-18 11:17:17 +01:00
2014-06-12 14:27:40 -07:00
2014-03-20 10:10:53 -04:00
2014-04-12 12:38:53 -07:00
2014-06-10 08:44:40 -07:00
2014-06-04 16:54:14 -07:00
2013-12-20 12:25:45 -08:00
2014-06-10 13:57:22 -07:00
2014-05-16 13:22:48 -04:00
2014-06-09 15:03:33 -07:00
2014-06-04 16:54:19 -07:00
2014-05-05 16:07:46 -07:00
2014-06-12 13:14:19 -07:00
2014-06-09 15:03:33 -07:00
2014-06-04 16:54:15 -07:00
2014-06-06 16:08:11 -07:00
2014-02-13 18:13:22 -08:00
2014-06-06 16:08:11 -07:00
2013-12-19 13:50:32 -05:00
2014-02-02 14:09:12 -08:00
2014-06-08 11:31:16 -07:00
2014-04-03 16:21:05 -07:00
2014-06-06 07:55:06 +02:00
2014-06-04 16:54:15 -07:00
2014-02-21 21:49:07 +01:00
2014-04-07 16:36:11 -07:00
2014-06-06 07:58:28 +02:00
2014-06-06 16:08:12 -07:00
2014-06-06 16:08:12 -07:00
2014-04-24 10:26:41 +02:00
2014-04-25 12:00:49 -07:00
2014-06-04 16:53:51 -07:00
2014-06-04 16:54:15 -07:00
2014-03-31 14:13:25 -07:00
2014-06-11 16:09:14 -07:00
2014-04-24 10:26:39 +02:00
2013-12-05 21:28:42 +08:00
2014-06-06 16:08:12 -07:00
2014-04-28 11:48:34 +09:30
2014-04-02 16:20:21 -07:00
2013-12-09 16:56:29 +01:00
2014-06-06 16:08:13 -07:00
2014-03-06 15:35:10 +01:00
2014-06-04 16:54:15 -07:00
2014-04-12 14:49:50 -07:00
2014-06-04 16:54:15 -07:00
2014-05-23 10:47:21 -06:00
2014-06-12 14:27:40 -07:00
2014-06-06 16:08:12 -07:00
2014-06-06 16:08:12 -07:00
2014-05-22 11:36:10 +02:00
2014-06-04 16:54:15 -07:00
2014-06-04 16:54:14 -07:00
2014-05-22 11:16:36 +02:00
2014-06-12 14:27:40 -07:00
2013-12-10 18:25:28 +00:00
2013-12-10 18:25:28 +00:00
2014-04-30 13:46:17 +02:00
2014-05-14 09:46:30 -07:00
2014-06-04 16:54:15 -07:00
2014-02-24 14:47:15 -08:00
2014-06-06 16:08:13 -07:00
2014-06-04 16:54:16 -07:00
2014-06-06 16:08:16 -07:00
2014-04-18 16:40:08 -07:00
2014-05-20 10:59:32 -04:00
2014-06-19 12:05:00 -04:00