Lai Jiangshan
46a4d679ef
workqueue: Avoid a false warning in unbind_workers()
...
Doing set_cpus_allowed_ptr() with wq_unbound_cpumask can be possible
fails and trigger the false warning.
Use cpu_possible_mask instead when wq_unbound_cpumask has no active CPUs.
It is very easy to trigger the warning:
Set wq_unbound_cpumask to a small set of CPUs.
Offline all the CPUs of wq_unbound_cpumask.
Offline an extra CPU and trigger the warning.
Fixes: 10a5a651e3 ("workqueue: Restrict kworker in the offline CPU pool running on housekeeping CPUs")
Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com >
Signed-off-by: Tejun Heo <tj@kernel.org >
2022-07-29 07:49:02 -10:00
..
2022-06-02 12:50:16 -07:00
2022-05-25 11:47:25 -07:00
2022-04-06 19:56:29 +02:00
2022-05-26 17:13:43 -07:00
2022-06-02 07:17:59 +02:00
2022-05-24 10:18:23 -07:00
2022-06-05 10:40:31 -07:00
2022-05-25 16:18:27 -07:00
2022-05-23 16:58:49 -07:00
2022-05-25 11:32:53 -07:00
2022-06-02 08:55:01 -07:00
2022-05-26 16:57:20 -07:00
2022-06-02 12:44:33 -07:00
2022-05-27 21:24:19 -07:00
2022-05-27 13:04:46 +02:00
2022-05-26 16:57:20 -07:00
2022-06-05 10:42:40 -07:00
2022-06-03 16:13:25 -07:00
2022-06-03 14:05:34 -07:00
2022-04-06 13:43:44 -07:00
2022-04-25 14:37:18 +02:00
2022-04-25 14:37:28 +02:00
2022-04-25 14:37:12 +02:00
2022-05-17 15:03:36 -04:00
2022-05-23 17:51:12 -07:00
2022-05-27 11:22:03 -07:00
2022-06-01 15:55:25 -07:00
2022-03-28 17:29:53 -07:00
2022-06-03 16:03:05 -07:00
2022-05-08 03:16:59 +09:00
2022-05-27 11:22:03 -07:00
2022-04-15 14:49:55 -07:00
2022-05-10 14:42:06 -07:00
2022-03-31 10:36:55 +02:00
2022-05-25 13:05:42 -07:00
2022-05-27 11:22:03 -07:00
2022-05-31 14:10:54 -07:00
2022-05-29 10:31:36 -07:00
2022-03-23 19:00:33 -07:00
2022-05-02 14:06:20 -06:00
2022-04-21 11:40:59 -07:00
2022-05-26 17:13:43 -07:00
2022-05-19 19:30:30 +02:00
2022-05-26 16:57:20 -07:00
2022-04-29 14:38:00 -07:00
2022-06-03 16:13:25 -07:00
2022-05-30 11:37:26 -07:00
2022-05-12 20:38:37 -07:00
2022-03-23 19:00:35 -07:00
2022-04-11 17:07:29 -07:00
2022-03-24 19:06:48 -07:00
2022-05-03 14:11:58 -07:00
2022-06-03 16:13:25 -07:00
2022-05-24 11:11:13 -07:00
2022-04-12 14:13:01 +02:00
2022-05-01 10:03:43 +02:00
2022-05-08 01:33:09 -07:00
2022-04-05 09:59:38 +02:00
2022-04-05 09:59:38 +02:00
2022-05-24 11:11:13 -07:00
2022-04-22 18:50:54 +01:00
2022-05-26 16:57:20 -07:00
2022-04-30 08:39:32 -06:00
2022-04-29 14:38:03 -07:00
2022-04-29 14:38:03 -07:00
2022-05-06 14:49:44 -05:00
2022-05-19 23:25:47 -04:00
2022-04-02 10:37:39 -07:00
2022-04-22 21:30:58 +02:00
2022-05-27 11:22:03 -07:00
2022-07-29 07:49:02 -10:00