Yunfeng Ye
f6d739c476
workqueue: Kick a worker based on the actual activation of delayed works
...
[ Upstream commit 01341fbd0d8d4e717fc1231cdffe00343088ce0b ]
In realtime scenario, We do not want to have interference on the
isolated cpu cores. but when invoking alloc_workqueue() for percpu wq
on the housekeeping cpu, it kick a kworker on the isolated cpu.
alloc_workqueue
pwq_adjust_max_active
wake_up_worker
The comment in pwq_adjust_max_active() said:
"Need to kick a worker after thawed or an unbound wq's
max_active is bumped"
So it is unnecessary to kick a kworker for percpu's wq when invoking
alloc_workqueue(). this patch only kick a worker based on the actual
activation of delayed works.
Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com >
Reviewed-by: Lai Jiangshan <jiangshanlai@gmail.com >
Signed-off-by: Tejun Heo <tj@kernel.org >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2021-01-12 20:09:05 +01:00
..
2020-10-01 13:12:35 +02:00
2020-08-21 09:48:02 +02:00
2017-08-22 18:43:23 -07:00
2020-11-05 11:06:55 +01:00
2020-11-18 18:28:02 +01:00
2020-09-23 10:46:32 +02:00
2020-12-29 13:46:56 +01:00
2019-10-07 18:55:09 +02:00
2020-09-03 11:22:27 +02:00
2020-10-29 09:07:16 +01:00
2020-10-01 13:12:45 +02:00
2019-05-31 06:47:33 -07:00
2020-12-29 13:46:51 +01:00
2020-11-18 18:28:00 +01:00
2020-12-11 13:39:06 +01:00
2018-01-10 09:31:17 +01:00
2018-02-16 20:23:05 +01:00
2017-11-02 11:10:55 +01:00
2020-10-01 13:12:33 +02:00
2020-06-20 10:25:10 +02:00
2020-06-20 10:25:10 +02:00
2020-06-20 10:25:10 +02:00
2019-12-01 09:14:03 +01:00
2018-11-13 11:15:08 -08:00
2017-11-02 11:10:55 +01:00
2020-06-20 10:24:58 +02:00
2020-06-20 10:25:19 +02:00
2020-12-29 13:46:47 +01:00
2018-01-17 09:45:27 +01:00
2020-01-09 10:17:54 +01:00
2018-08-03 07:50:38 +02:00
2017-11-02 11:10:55 +01:00
2019-10-11 18:18:42 +02:00
2017-11-02 11:10:55 +01:00
2020-11-18 18:27:58 +01:00
2017-09-23 16:50:20 -04:00
2020-11-10 10:29:06 +01:00
2020-11-18 18:27:58 +01:00
2017-12-20 10:10:18 +01:00
2019-04-20 09:15:05 +02:00
2018-12-05 19:41:17 +01:00
2019-09-21 07:15:38 +02:00
2017-11-02 11:10:55 +01:00
2018-08-03 07:50:22 +02:00
2019-11-24 08:23:15 +01:00
2017-07-12 16:26:02 -07:00
2017-11-02 11:10:55 +01:00
2017-07-12 16:26:00 -07:00
2020-04-24 08:00:44 +02:00
2020-10-01 13:12:51 +02:00
2017-07-12 16:25:59 -07:00
2020-11-10 10:29:04 +01:00
2019-12-05 15:38:22 +01:00
2019-01-13 10:01:02 +01:00
2021-01-09 13:37:39 +01:00
2020-04-02 16:34:20 +02:00
2020-05-27 16:43:05 +02:00
2019-10-17 13:43:19 -07:00
2017-10-03 17:54:26 -07:00
2019-07-31 07:28:21 +02:00
2017-08-21 12:47:31 -07:00
2020-01-23 08:20:32 +01:00
2017-11-02 11:10:55 +01:00
2020-11-18 18:28:02 +01:00
2020-08-26 10:29:54 +02:00
2018-04-24 09:36:22 +02:00
2018-05-22 18:54:04 +02:00
2020-04-24 08:00:38 +02:00
2019-02-12 19:46:13 +01:00
2017-10-04 10:53:54 +02:00
2017-11-02 11:10:55 +01:00
2018-08-15 18:12:47 +02:00
2018-09-05 09:26:36 +02:00
2017-11-02 11:10:55 +01:00
2020-10-01 13:12:30 +02:00
2017-11-02 11:10:55 +01:00
2020-01-04 13:59:57 +01:00
2017-12-25 14:26:21 +01:00
2020-01-09 10:17:53 +01:00
2017-07-25 13:04:45 -07:00
2018-05-09 09:51:50 +02:00
2017-12-20 10:10:18 +01:00
2020-10-14 09:51:10 +02:00
2017-08-29 15:14:38 +02:00
2018-09-09 19:56:00 +02:00
2018-09-09 19:56:00 +02:00
2018-09-05 09:26:42 +02:00
2020-02-28 16:36:05 +01:00
2017-11-06 12:26:49 -08:00
2021-01-12 20:09:05 +01:00