warning: checkpointing journal with EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT can be slow BUG: sleeping function called from invalid context at mm/migrate.c:1432 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 30, name: kcompactd0 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 no locks held by kcompactd0/30. Preemption disabled at: [] free_unref_page+0x1e5/0x440 CPU: 0 PID: 30 Comm: kcompactd0 Not tainted 5.19.0-rc2-next-20220614 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: dump_stack_lvl+0x8b/0xb3 __might_resched.cold+0x222/0x26b migrate_pages+0x2a5/0x49a0 compact_zone+0x1a93/0x3600 kcompactd_do_work+0x45e/0x9d0 kcompactd+0xb14/0xe00 kthread+0x2f2/0x3b0 ret_from_fork+0x22/0x30 BUG: scheduling while atomic: kcompactd0/30/0x00000002 no locks held by kcompactd0/30. Modules linked in: Preemption disabled at: [] free_unref_page+0x1e5/0x440 CPU: 0 PID: 30 Comm: kcompactd0 Tainted: G W 5.19.0-rc2-next-20220614 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: dump_stack_lvl+0x8b/0xb3 __schedule_bug.cold+0x133/0x143 __schedule+0x18e6/0x2470 schedule+0xd2/0x1f0 schedule_timeout+0x143/0x280 kcompactd+0x97f/0xe00 kthread+0x2f2/0x3b0 ret_from_fork+0x22/0x30 BUG: scheduling while atomic: kcompactd0/30/0x00000002 no locks held by kcompactd0/30. Modules linked in: Preemption disabled at: [] free_unref_page+0x1e5/0x440 CPU: 0 PID: 30 Comm: kcompactd0 Tainted: G W 5.19.0-rc2-next-20220614 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: dump_stack_lvl+0x8b/0xb3 __schedule_bug.cold+0x133/0x143 __schedule+0x18e6/0x2470 schedule+0xd2/0x1f0 schedule_timeout+0x143/0x280 kcompactd+0x97f/0xe00 kthread+0x2f2/0x3b0 ret_from_fork+0x22/0x30 BUG: scheduling while atomic: syz-executor.4/13851/0x00000002 2 locks held by syz-executor.4/13851: #0: ffff8880449ee130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_setsockopt+0x156/0x3cc0 #1: ffffffff852b38c0 (fs_reclaim){+.+.}-{0:0}, at: __alloc_pages_slowpath.constprop.0+0x914/0x1f90 Modules linked in: Preemption disabled at: [] get_page_from_freelist+0x426/0x2ad0 CPU: 1 PID: 13851 Comm: syz-executor.4 Tainted: G W 5.19.0-rc2-next-20220614 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: dump_stack_lvl+0x8b/0xb3 __schedule_bug.cold+0x133/0x143 __schedule+0x18e6/0x2470 schedule+0xd2/0x1f0 schedule_timeout+0x143/0x280 reclaim_throttle+0x6f1/0x8c0 shrink_lruvec+0x99f/0x22c0 shrink_node+0x829/0x1d10 do_try_to_free_pages+0x3cc/0x1680 try_to_free_pages+0x295/0x7b0 __alloc_pages_slowpath.constprop.0+0x9ba/0x1f90 __alloc_pages+0x421/0x4f0 alloc_pages+0x1a0/0x2f0 __vmalloc_node_range+0x713/0x1410 __vmalloc_node+0xb5/0x100 packet_set_ring+0xb60/0x1b20 packet_setsockopt+0x1b56/0x3cc0 __sys_setsockopt+0x180/0x2a0 __x64_sys_setsockopt+0xba/0x150 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f19bd01cb19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f19ba571188 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f19bd130020 RCX: 00007f19bd01cb19 RDX: 0000000000000005 RSI: 0000000000000107 RDI: 0000000000000004 RBP: 00007f19bd076f6d R08: 0000000000000010 R09: 0000000000000000 R10: 0000000020000100 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc604ea1df R14: 00007f19ba571300 R15: 0000000000022000