rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P8618/1:b..l (detected by 1, t=10502 jiffies, g=42717, q=322 ncpus=2) task:sed state:R running task stack:23880 pid:8618 ppid:8612 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6561 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6873 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:lock_is_held_type+0xe/0x180 kernel/locking/lockdep.c:5690 Code: 01 ec 8a e8 54 35 c7 f6 0f 0b eb bf e8 ab fd ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 55 41 57 41 56 41 55 41 54 53 48 83 ec 10 <65> 48 8b 04 25 28 00 00 00 48 89 44 24 08 bd ff ff ff ff 83 3d dc RSP: 0018:ffffc900053772f8 EFLAGS: 00000282 RAX: 1ffff11002767000 RBX: 0000000000000300 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff888013b38158 RBP: ffffc90005377530 R08: ffffffff8a825173 R09: ffffffff8a824e8b R10: 0000000000000003 R11: ffff888024aebb80 R12: ffff888013b38158 R13: 00007f76c0d42fff R14: ffff8880132c1510 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+0x37c7/0x5ad0 lib/maple_tree.c:7240 validate_mm_mt+0x165/0x670 mm/mmap.c:295 validate_mm+0x16e/0x380 mm/mmap.c:332 do_mas_align_munmap+0x132d/0x15f0 mm/mmap.c:2589 do_mas_munmap+0x246/0x2b0 mm/mmap.c:2640 mmap_region+0x8e6/0x1fa0 mm/mmap.c:2688 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:0x7f76c0facb74 RSP: 002b:00007ffd95408228 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ffd954082d8 RCX: 00007f76c0facb74 RDX: 0000000000000003 RSI: 0000000000002000 RDI: 00007f76c0d07000 RBP: 00007ffd95408600 R08: 0000000000000003 R09: 0000000000022000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007f76c0f8ffc0 R13: 00007ffd95408688 R14: 0000000000021bd8 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 9645 jiffies! g42717 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:26752 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6561 schedule+0xbf/0x180 kernel/sched/core.c:6637 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