rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P26607/1:b..l P26606/1:b..l rcu: (detected by 0, t=10502 jiffies, g=188241, q=1017 ncpus=2) task:modprobe state:R running task stack:27280 pid:26606 ppid:12 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:6981 irqentry_exit+0x35/0x80 kernel/entry/common.c:433 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:arch_atomic64_fetch_add_unless include/linux/atomic/atomic-arch-fallback.h:2578 [inline] RIP: 0010:arch_atomic64_add_unless include/linux/atomic/atomic-arch-fallback.h:2600 [inline] RIP: 0010:arch_atomic64_inc_not_zero include/linux/atomic/atomic-arch-fallback.h:2616 [inline] RIP: 0010:arch_atomic_long_inc_not_zero include/linux/atomic/atomic-long.h:515 [inline] RIP: 0010:atomic_long_inc_not_zero include/linux/atomic/atomic-instrumented.h:1920 [inline] RIP: 0010:__fget_files_rcu fs/file.c:883 [inline] RIP: 0010:__fget_files+0x191/0x470 fs/file.c:914 Code: b5 c2 95 ff 4d 8d 7d 58 be 08 00 00 00 4c 89 ff e8 24 af e8 ff 4c 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 7f 02 00 00 49 8b 5d 58 <31> ff 48 89 de e8 c5 be 95 ff 48 85 db 0f 84 cf 00 00 00 e8 77 c2 RSP: 0018:ffffc90005fb7e80 EFLAGS: 00000246 RAX: 1ffff110053c4a8b RBX: 0000000000000001 RCX: ffffffff81eebd1c RDX: ffffed10053c4a8c RSI: 0000000000000008 RDI: ffff888029e25458 RBP: dffffc0000000000 R08: 0000000000000001 R09: ffff888029e2545f R10: ffffed10053c4a8b R11: 0000000000000000 R12: 0000000000000000 R13: ffff888029e25400 R14: ffff8880137ef8a0 R15: ffff888029e25458 ksys_mmap_pgoff+0x282/0x5b0 mm/mmap.c:1411 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f59e85c3b74 RSP: 002b:00007ffcbf8196a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00000fff97f032d6 RCX: 00007f59e85c3b74 RDX: 0000000000000001 RSI: 00000000001b0dd0 RDI: 0000000000000000 RBP: 00007ffcbf819e40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000802 R11: 0000000000000246 R12: 00007f59e85a65c0 R13: 00007ffcbf819ec8 R14: fffffffffffff000 R15: 0000000000000000 task:modprobe state:R running task stack:27192 pid:26607 ppid:2831 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:6981 irqentry_exit+0x35/0x80 kernel/entry/common.c:433 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x20/0x70 kernel/kcov.c:207 Code: 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 65 8b 05 3d 3a 7f 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 00 ba 03 00 00 01 ff 00 74 0e 85 c9 74 35 8b 82 0c 16 00 00 85 c0 74 2b 8b RSP: 0018:ffffc90005f87668 EFLAGS: 00000246 RAX: 0000000080000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff888022bc9dc0 RSI: ffffffff8a01dddc RDI: 0000000000000000 RBP: 000000000000000f R08: 0000000000000000 R09: 0000000000000001 R10: 000000000000000f R11: 0000000000094001 R12: 0000000000000001 R13: 0000000000000001 R14: 0000558733aa7fff R15: ffff88806d7ab410 mas_safe_pivot lib/maple_tree.c:719 [inline] mas_validate_limits lib/maple_tree.c:7086 [inline] mt_validate+0x160c/0x41f0 lib/maple_tree.c:7210 validate_mm_mt+0xa1/0x3f0 mm/mmap.c:314 __split_vma+0x5f5/0x830 mm/mmap.c:2304 do_vmi_align_munmap+0x2b8/0x1640 mm/mmap.c:2366 do_vmi_munmap+0x26e/0x2c0 mm/mmap.c:2527 mmap_region+0x1f0/0x28e0 mm/mmap.c:2575 do_mmap+0x837/0xf60 mm/mmap.c:1394 vm_mmap_pgoff+0x1a2/0x3b0 mm/util.c:543 ksys_mmap_pgoff+0x42b/0x5b0 mm/mmap.c:1440 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f740abf8b74 RSP: 002b:00007fffabe25d88 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fffabe25dc8 RCX: 00007f740abf8b74 RDX: 0000000000000005 RSI: 0000000000123000 RDI: 00007f740a98f000 RBP: 00007fffabe26520 R08: 0000000000000000 R09: 0000000000028000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007f740abdb5c0 R13: 00007fffabe265a8 R14: 0000000000027f38 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10051 jiffies! g188241 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:28320 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1808 kthread+0x344/0x440 kernel/kthread.c:379 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:48 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:86 [inline] NMI backtrace for cpu 1 skipped: idling at __intel_idle_hlt drivers/idle/intel_idle.c:205 [inline] NMI backtrace for cpu 1 skipped: idling at intel_idle_hlt+0x23/0x30 drivers/idle/intel_idle.c:224