sched: DL replenish lagged too much
BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 144s!
Showing busy workqueues and worker pools:
workqueue events: flags=0x100
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=12 refcnt=13
pending: vmstat_shepherd, 5*nsim_dev_hwstats_traffic_work, 2*psi_avgs_work, kernfs_notify_workfn, psi_avgs_work, 2*ovs_dp_masks_rebalance
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=8 refcnt=9
in-flight: 5917:key_garbage_collector
pending: 3*psi_avgs_work, 4*ovs_dp_masks_rebalance
workqueue events_long: flags=0x100
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=6 refcnt=7
pending: br_fdb_cleanup, 5*defense_work_handler
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: defense_work_handler
workqueue events_unbound: flags=0x2
pwq 8: cpus=0-1 flags=0x6 nice=0 active=15 refcnt=16
in-flight: 1093:cfg80211_wiphy_work cfg80211_wiphy_work ,12:cfg80211_wiphy_work cfg80211_wiphy_work ,13:cfg80211_wiphy_work cfg80211_wiphy_work ,4519:cfg80211_wiphy_work cfg80211_wiphy_work ,975:cfg80211_wiphy_work cfg80211_wiphy_work ,60:cfg80211_wiphy_work cfg80211_wiphy_work ,50:cfg80211_wiphy_work cfg80211_wiphy_work
pending: crng_reseed
pwq 8: cpus=0-1 flags=0x6 nice=0 active=4 refcnt=5
in-flight: 4542:cfg80211_wiphy_work cfg80211_wiphy_work
pending: toggle_allocation_gate, flush_memcg_stats_dwork
workqueue events_unbound: flags=0x2
pwq 8: cpus=0-1 flags=0x6 nice=0 active=3 refcnt=4
in-flight: 36:nsim_dev_trap_report_work
pending: macvlan_process_broadcast, idle_cull_fn
pwq 8: cpus=0-1 flags=0x6 nice=0 active=11 refcnt=12
pending: 3*macvlan_process_broadcast, idle_cull_fn, 2*macvlan_process_broadcast, 2*nsim_dev_trap_report_work, idle_cull_fn, 2*nsim_dev_trap_report_work
workqueue events_freezable: flags=0x104
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: update_balloon_stats_func
workqueue events_power_efficient: flags=0x180
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=8 refcnt=9
in-flight: 5951:neigh_periodic_work
pending: wg_ratelimiter_gc_entries, 2*neigh_managed_work, neigh_periodic_work, do_cache_clean, 2*check_lifetime
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=4 refcnt=5
in-flight: 855:reg_check_chans_work
pending: 2*check_lifetime, gc_worker
workqueue kvfree_rcu_reclaim: flags=0xa
pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2
pending: kfree_rcu_monitor
workqueue mm_percpu_wq: flags=0x8
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: vmstat_update
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: vmstat_update
workqueue writeback: flags=0x4a
pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=5 MAYDAY
in-flight: 33(RESCUER):wb_workfn
pending: wb_update_bandwidth_workfn
workqueue usb_hub_wq: flags=0x4
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3
in-flight: 5909:hub_event hub_event
workqueue mld: flags=0x40108
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: mld_query_work
workqueue ipv6_addrconf: flags=0x6000a
pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=5
in-flight: 3184(RESCUER):addrconf_verify_work
workqueue bat_events: flags=0x6000a
pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=33
in-flight: 3409(RESCUER):batadv_tt_purge
inactive: batadv_tt_purge, batadv_mcast_mla_update, batadv_tt_purge, 3*batadv_mcast_mla_update, 4*batadv_iv_send_outstanding_bat_ogm_packet, 3*batadv_purge_orig, batadv_iv_send_outstanding_bat_ogm_packet, batadv_purge_orig, 5*batadv_iv_send_outstanding_bat_ogm_packet, batadv_dat_purge, 2*batadv_bla_periodic_work, batadv_dat_purge, 2*batadv_bla_periodic_work, 2*batadv_dat_purge
workqueue wg-kex-wg0: flags=0x6
pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2
pending: wg_packet_handshake_send_worker
workqueue wg-crypt-wg0: flags=0x128
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3
pending: wg_packet_encrypt_worker, wg_packet_tx_worker
workqueue wg-crypt-wg1: flags=0x128
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=3 refcnt=4
pending: wg_packet_encrypt_worker, wg_packet_decrypt_worker, wg_packet_tx_worker
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: wg_packet_tx_worker
workqueue wg-crypt-wg2: flags=0x128
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3
pending: wg_packet_encrypt_worker, wg_packet_tx_worker
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: wg_packet_tx_worker
workqueue wg-crypt-wg0: flags=0x128
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3
pending: wg_packet_encrypt_worker, wg_packet_tx_worker
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: wg_packet_tx_worker
workqueue wg-crypt-wg1: flags=0x128
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3
pending: wg_packet_encrypt_worker, wg_packet_tx_worker
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: wg_packet_tx_worker
workqueue wg-crypt-wg2: flags=0x128
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3
pending: wg_packet_encrypt_worker, wg_packet_tx_worker
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3
pending: wg_packet_tx_worker, wg_packet_encrypt_worker
workqueue wg-kex-wg0: flags=0x6
pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=3
pending: 2*wg_packet_handshake_send_worker
workqueue wg-crypt-wg0: flags=0x128
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: wg_packet_encrypt_worker
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: wg_packet_tx_worker
workqueue wg-kex-wg1: flags=0x6
pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=3
pending: wg_packet_handshake_send_worker, wg_queued_expired_zero_key_material
workqueue wg-crypt-wg1: flags=0x128
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: wg_packet_encrypt_worker
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: wg_packet_decrypt_worker
workqueue wg-kex-wg2: flags=0x6
pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=3
in-flight: 4527:wg_packet_handshake_send_worker
pending: wg_queued_expired_zero_key_material
workqueue wg-crypt-wg2: flags=0x128
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3
pending: wg_packet_encrypt_worker, wg_packet_tx_worker
workqueue bond5: flags=0x2000a
pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=5
pending: bond_mii_monitor
inactive: bond_3ad_state_machine_handler
workqueue hci0: flags=0x20012
pwq 9: cpus=0-1 node=0 flags=0x6 nice=-20 active=1 refcnt=4
in-flight: 5835:hci_cmd_sync_work
workqueue wg-crypt-wg0: flags=0x128
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3
pending: wg_packet_encrypt_worker, wg_packet_tx_worker
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: wg_packet_tx_worker
workqueue wg-crypt-wg1: flags=0x128
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3
pending: wg_packet_encrypt_worker, wg_packet_tx_worker
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: wg_packet_tx_worker
workqueue wg-crypt-wg2: flags=0x128
pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3
pending: wg_packet_encrypt_worker, wg_packet_tx_worker
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: wg_packet_tx_worker
pool 2: cpus=0 node=0 flags=0x0 nice=0 hung=145s workers=6 idle: 5964 939 5888 5921
pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=48s workers=7 idle: 24 5916 11166 5933 5895
pool 8: cpus=0-1 flags=0x6 nice=0 hung=0s workers=11 manager: 12266
pool 9: cpus=0-1 node=0 flags=0x6 nice=-20 hung=0s workers=3 manager: 5150 idle: 11488
Showing backtraces of running workers in stalled CPU-bound worker pools:
pool 2:
task:kworker/0:7 state:R running task stack:20616 pid:5951 tgid:5951 ppid:2 task_flags:0x4208060 flags:0x00080000
Workqueue: events_power_efficient neigh_periodic_work
Call Trace:
context_switch kernel/sched/core.c:5325 [inline]
__schedule+0x1798/0x4cc0 kernel/sched/core.c:6929
preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:7113
preempt_schedule+0xae/0xc0 kernel/sched/core.c:7137
preempt_schedule_thunk+0x16/0x30 arch/x86/entry/thunk.S:12
__local_bh_enable_ip+0x13e/0x1c0 kernel/softirq.c:457
neigh_periodic_work+0xc28/0xe50 net/core/neighbour.c:1040
process_one_work kernel/workqueue.c:3263 [inline]
process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
pool 2:
task:kworker/0:5 state:R running task stack:20616 pid:5909 tgid:5909 ppid:2 task_flags:0x4208060 flags:0x00080000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5325 [inline]
__schedule+0x1798/0x4cc0 kernel/sched/core.c:6929
preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7256
irqentry_exit+0x6f/0x90 kernel/entry/common.c:211
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:__nr_to_section include/linux/mmzone.h:1962 [inline]
RIP: 0010:__pfn_to_section include/linux/mmzone.h:2104 [inline]
RIP: 0010:get_pageblock_bitmap mm/page_alloc.c:340 [inline]
RIP: 0010:get_pfnblock_bitmap_bitidx mm/page_alloc.c:376 [inline]
RIP: 0010:__get_pfnblock_flags_mask+0x122/0x240 mm/page_alloc.c:401
Code: 49 39 de 0f 83 15 01 00 00 4d 89 f4 49 c1 ec 0f 4d 89 f7 49 c1 ef 16 b8 00 10 00 00 eb 0c cc cc cc f3 0f 1e fa b8 00 00 04 00 0f 1e fa 49 39 c7 48 8b 1c 24 49 bd 00 00 00 00 00 fc ff df 73
RSP: 0018:ffffc90004fcf388 EFLAGS: 00000246
RAX: 0000000000001000 RBX: 0000000000100000 RCX: dffffc0000000000
RDX: 0000000000000017 RSI: 0000000000075fb8 RDI: ffffea0001d7ee00
RBP: 0000000000000780 R08: dffffc0000000000 R09: 0000000000000000
R10: ffffed100ebf7000 R11: fffffbfff1ef9b8f R12: 000000000000000e
R13: ffff88813fffbc10 R14: 0000000000075fb8 R15: 0000000000000000
get_pfnblock_migratetype mm/page_alloc.c:449 [inline]
__free_frozen_pages+0x5cf/0xd30 mm/page_alloc.c:2917
__slab_free+0x2e7/0x390 mm/slub.c:5962
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:352
kasan_slab_alloc include/linux/kasan.h:252 [inline]
slab_post_alloc_hook mm/slub.c:4970 [inline]
slab_alloc_node mm/slub.c:5280 [inline]
__kmalloc_cache_noprof+0x36f/0x6f0 mm/slub.c:5758
kmalloc_noprof include/linux/slab.h:957 [inline]
usb_control_msg+0x73/0x3e0 drivers/usb/core/message.c:144
usb_get_descriptor+0xb1/0x3e0 drivers/usb/core/message.c:794
usb_get_device_descriptor+0x6d/0xd0 drivers/usb/core/message.c:1065
hub_port_init+0x168c/0x2800 drivers/usb/core/hub.c:5175
hub_port_connect drivers/usb/core/hub.c:5495 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5706 [inline]
port_event drivers/usb/core/hub.c:5870 [inline]
hub_event+0x2532/0x4a20 drivers/usb/core/hub.c:5952
process_one_work kernel/workqueue.c:3263 [inline]
process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
----------------
Code disassembly (best guess):
0: 49 39 de cmp %rbx,%r14
3: 0f 83 15 01 00 00 jae 0x11e
9: 4d 89 f4 mov %r14,%r12
c: 49 c1 ec 0f shr $0xf,%r12
10: 4d 89 f7 mov %r14,%r15
13: 49 c1 ef 16 shr $0x16,%r15
17: b8 00 10 00 00 mov $0x1000,%eax
1c: eb 0c jmp 0x2a
1e: cc int3
1f: cc int3
20: cc int3
21: f3 0f 1e fa endbr64
25: b8 00 00 04 00 mov $0x40000,%eax
* 2a: f3 0f 1e fa endbr64 <-- trapping instruction
2e: 49 39 c7 cmp %rax,%r15
31: 48 8b 1c 24 mov (%rsp),%rbx
35: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13
3c: fc ff df
3f: 73 .byte 0x73