Marcelo Tosatti
7bd20b6b87
workqueue: mark power efficient workqueue as unbounded if nohz_full enabled
A customer using nohz_full has experienced the following interruption:
oslat-1004510 [018] timer_cancel: timer=0xffff90a7ca663cf8
oslat-1004510 [018] timer_expire_entry: timer=0xffff90a7ca663cf8 function=delayed_work_timer_fn now=4709188240 baseclk=4709188240
oslat-1004510 [018] workqueue_queue_work: work struct=0xffff90a7ca663cd8 function=fb_flashcursor workqueue=events_power_efficient req_cpu=8192 cpu=18
oslat-1004510 [018] workqueue_activate_work: work struct 0xffff90a7ca663cd8
oslat-1004510 [018] sched_wakeup: kworker/18:1:326 [120] CPU:018
oslat-1004510 [018] timer_expire_exit: timer=0xffff90a7ca663cf8
oslat-1004510 [018] irq_work_entry: vector=246
oslat-1004510 [018] irq_work_exit: vector=246
oslat-1004510 [018] tick_stop: success=0 dependency=SCHED
oslat-1004510 [018] hrtimer_start: hrtimer=0xffff90a70009cb00 function=tick_sched_timer/0x0 ...
oslat-1004510 [018] softirq_exit: vec=1 [action=TIMER]
oslat-1004510 [018] softirq_entry: vec=7 [action=SCHED]
oslat-1004510 [018] softirq_exit: vec=7 [action=SCHED]
oslat-1004510 [018] tick_stop: success=0 dependency=SCHED
oslat-1004510 [018] sched_switch: oslat:1004510 [120] R ==> kworker/18:1:326 [120]
kworker/18:1-326 [018] workqueue_execute_start: work struct 0xffff90a7ca663cd8: function fb_flashcursor
kworker/18:1-326 [018] workqueue_queue_work: work struct=0xffff9078f119eed0 function=drm_fb_helper_damage_work workqueue=events req_cpu=8192 cpu=18
kworker/18:1-326 [018] workqueue_activate_work: work struct 0xffff9078f119eed0
kworker/18:1-326 [018] timer_start: timer=0xffff90a7ca663cf8 function=delayed_work_timer_fn ...
Set wq_power_efficient to true, in case nohz_full is enabled.
This makes the power efficient workqueue be unbounded, which allows
workqueue items there to be moved to HK CPUs.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2024-01-19 13:55:47 -10:00
..
2024-01-11 10:07:29 -08:00
2024-01-08 20:04:02 -08:00
2023-09-22 09:50:55 -07:00
2023-11-06 17:13:55 +00:00
2024-01-11 13:46:50 -08:00
2023-12-21 23:12:18 +01:00
2024-01-09 11:18:47 -08:00
2023-12-20 19:26:31 -05:00
2023-10-18 14:43:22 -07:00
2023-11-02 20:53:31 -10:00
2023-10-18 14:34:17 -07:00
2023-09-20 11:24:18 +02:00
2024-01-12 16:35:58 -08:00
2024-01-10 18:00:18 -08:00
2023-12-20 19:19:26 +01:00
2023-11-03 15:44:25 -10:00
2023-12-14 01:21:31 +05:30
2024-01-10 16:43:55 -08:00
2024-01-08 18:44:11 -08:00
2024-01-11 10:07:29 -08:00
2023-09-11 15:05:50 +02:00
2024-01-10 16:43:55 -08:00
2023-11-02 20:53:31 -10:00
2023-11-14 17:34:27 -05:00
2023-11-12 22:33:49 -05:00
2023-07-21 12:17:25 -04:00
2023-08-15 18:16:14 -04:00
2023-10-13 18:34:46 +02:00
2023-08-08 16:48:47 -04:00
2024-01-09 10:36:07 -08:00
2024-01-09 11:46:20 -08:00
2023-12-15 14:19:48 -08:00
2024-01-10 16:43:55 -08:00
2023-09-21 12:03:50 -06:00
2024-01-10 16:43:55 -08:00
2023-12-23 15:52:13 +01:00
2023-09-29 11:28:39 -07:00
2023-08-21 13:37:28 -07:00
2023-08-29 17:32:32 -07:00
2023-08-25 15:00:36 -07:00
2023-10-19 11:02:48 +02:00
2023-12-20 13:46:19 -08:00
2023-12-29 12:22:29 -08:00
2023-12-29 12:22:25 -08:00
2023-10-09 16:59:47 +10:00
2023-12-01 14:53:55 +09:00
2023-08-24 16:25:14 -07:00
2023-11-02 20:53:31 -10:00
2023-12-20 19:26:30 -05:00
2023-08-21 11:29:12 -07:00
2023-12-20 19:26:30 -05:00
2023-10-27 18:04:24 +08:00
2023-10-04 10:41:56 -07:00
2023-12-01 09:51:44 -08:00
2023-12-20 19:26:31 -05:00
2023-08-21 13:37:59 -07:00
2023-12-12 14:24:14 +01:00
2024-01-09 11:46:20 -08:00
2024-01-09 16:20:17 -08:00
2023-12-29 12:22:27 -08:00
2024-01-09 11:46:20 -08:00
2023-07-14 15:02:57 -07:00
2023-12-12 14:24:14 +01:00
2023-12-10 17:21:32 -08:00
2023-10-30 17:56:53 -10:00
2023-10-04 10:41:57 -07:00
2023-07-13 15:21:50 +02:00
2023-12-29 12:22:29 -08:00
2024-01-09 12:57:46 -08:00
2023-11-18 19:35:31 +01:00
2023-11-01 15:28:33 -10:00
2023-09-19 13:21:32 -07:00
2023-10-04 10:41:57 -07:00
2023-09-24 17:24:01 +02:00
2023-08-15 15:26:17 -07:00
2023-09-13 14:59:24 +02:00
2023-11-28 14:08:47 +01:00
2023-10-11 08:46:01 -07:00
2023-12-21 13:17:54 +01:00
2023-12-29 12:22:30 -08:00
2023-08-07 15:57:22 -10:00
2024-01-19 13:55:47 -10:00