rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6206/1:b..l (detected by 0, t=10502 jiffies, g=161565, q=337 ncpus=2) task:kworker/u4:21 state:R running task stack:21184 pid:6206 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:__preempt_count_add kernel/rcu/tree.c:717 [inline] RIP: 0010:rcu_is_watching+0x2/0xb0 kernel/rcu/tree.c:720 Code: 44 24 21 02 0f 84 02 ff ff ff e9 6c ff ff ff 48 c7 c7 20 16 13 8d 4c 89 f6 e8 1a 4d f0 02 e9 2b ff ff ff e8 50 ce 17 09 41 57 <41> 56 53 65 ff 05 0c 24 8f 7e e8 8f e6 17 09 89 c3 83 f8 08 73 76 RSP: 0018:ffffc900047a7be8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff8880611893c0 RCX: ffff888025c85940 RDX: ffff888025c85940 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff88807c3303a8 R08: ffffffff8a5c0e9d R09: fffffbfff2093a45 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888076840c80 R13: 0000000000000075 R14: 0000000000000001 R15: dffffc0000000000 rcu_read_lock include/linux/rcupdate.h:792 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x107/0x610 net/batman-adv/network-coding.c:719 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: rcu_preempt kthread starved for 8766 jiffies! g161565 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:R running task stack:26648 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:572