rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P4171/1:b..l (detected by 1, t=10502 jiffies, g=8541, q=130 ncpus=2) task:sed state:R running task stack:23880 pid:4171 ppid:4170 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 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:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x13/0x60 kernel/kcov.c:207 Code: 48 8b 3d 48 26 0f 0d 48 89 de 5b e9 37 a5 56 00 cc cc cc cc cc cc cc 48 8b 04 24 65 48 8b 0d 94 ce 77 7e 65 8b 15 95 ce 77 7e c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 1c 16 00 00 RSP: 0018:ffffc9000321f618 EFLAGS: 00000202 RAX: ffffffff8a9c12cb RBX: 0000000000000001 RCX: ffff88807e4e1dc0 RDX: 0000000080000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000321f810 R08: ffffffff8a9c12c2 R09: ffffffff8a9c0f7b R10: 0000000000000003 R11: ffff88807e4e1dc0 R12: ffff88801286d3d8 R13: 00007f75f1eb8fff R14: 0000000000000000 R15: 0000000000000000 mt_slot lib/maple_tree.c:814 [inline] mas_slot lib/maple_tree.c:847 [inline] mas_get_slot lib/maple_tree.c:6674 [inline] mas_validate_gaps lib/maple_tree.c:6972 [inline] mt_validate+0x37db/0x5ad0 lib/maple_tree.c:7240 validate_mm_mt+0x165/0x670 mm/mmap.c:295 validate_mm+0x16e/0x380 mm/mmap.c:332 mmap_region+0x19d2/0x1fa0 mm/mmap.c:2884 do_mmap+0x8c5/0xf60 mm/mmap.c:1425 vm_mmap_pgoff+0x1ca/0x2d0 mm/util.c:520 ksys_mmap_pgoff+0x4f5/0x6d0 mm/mmap.c:1471 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f75f214ab74 RSP: 002b:00007ffc872ab288 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ffc872ab338 RCX: 00007f75f214ab74 RDX: 0000000000000003 RSI: 0000000000006000 RDI: 00007f75f2057000 RBP: 00007ffc872aba20 R08: 0000000000000003 R09: 000000000019d000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007f75f212d5c0 R13: 00007ffc872abaa8 R14: 000000000019d264 R15: 0000000000000000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10532 jiffies! g8541 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=5015 rcu: rcu_preempt kthread starved for 10538 jiffies! g8541 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0 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:I stack:27288 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 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:295 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:111 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:567