Skip to content

Instantly share code, notes, and snippets.

@kiryl
Created March 7, 2019 12:36
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kiryl/3225e235fea390aa2e49bf625bbe83ec to your computer and use it in GitHub Desktop.
[ 63.523566] WARNING: CPU: 0 PID: 3845 at mm/page_alloc.c:4427 __alloc_pages_slowpath+0x1345/0x13f0
[ 63.533141] Modules linked in:
[ 63.536196] CPU: 0 PID: 3845 Comm: usemem Not tainted 5.0.0-rc8+ #375
[ 63.542604] RIP: 0010:__alloc_pages_slowpath+0x1345/0x13f0
[ 63.548063] Code: 1c 00 00 00 00 c7 44 24 68 01 00 00 00 e9 49 f0 ff ff 85 d2 75 4f 48 c7 c7 60 fd fb 82 e8 03 48 d2 00 e9 15 fc ff ff 4d 89 fc <0f> 0b 48 8b 7c 24 10 e8 9f 43 0a 00 49 8b 74 24 08 8b 0c 24 48 c7
[ 63.566711] RSP: 0018:ffff888400b067e8 EFLAGS: 00010046
[ 63.571907] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8133a7ca
[ 63.578999] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88846efdf830
[ 63.586093] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000f87
[ 63.593190] R10: 0000000000000000 R11: ffff88846efde547 R12: ffff888400b06a28
[ 63.600285] R13: 0000000000000000 R14: 0000000000415a00 R15: ffff888400b06a28
[ 63.607382] FS: 0000000000977880(0000) GS:ffff88841e000000(0000) knlGS:0000000000000000
[ 63.615425] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 63.621139] CR2: 00007f2cd4372ce0 CR3: 000000041933a002 CR4: 00000000003606f0
[ 63.628231] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 63.635324] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 63.642418] Call Trace:
[ 63.644865] ? deref_stack_reg+0x8d/0xd0
[ 63.648779] ? __zone_watermark_ok+0x6a/0x180
[ 63.653131] ? warn_alloc+0x120/0x120
[ 63.656788] ? find_held_lock+0xb3/0xd0
[ 63.660616] ? lock_acquire+0xbd/0x1d0
[ 63.664358] ? __isolate_free_page+0x280/0x280
[ 63.668793] __alloc_pages_nodemask+0x422/0x470
[ 63.673314] ? __alloc_pages_slowpath+0x13f0/0x13f0
[ 63.678167] ? __save_stack_trace+0x92/0x100
[ 63.682423] ? policy_node+0x56/0x60
[ 63.685999] new_slab+0x2b6/0x3c0
[ 63.689313] ___slab_alloc+0x3ed/0x5f0
[ 63.693054] ? shrink_inactive_list+0x26e/0x5c0
[ 63.697565] ? shrink_node_memcg.constprop.83+0x2f7/0xa10
[ 63.702941] ? shrink_node+0x10b/0x5a0
[ 63.706677] ? create_object+0x8c/0x470
[ 63.710504] ? populate_vma_page_range+0xf9/0x130
[ 63.715186] ? __mm_populate+0x12a/0x1f0
[ 63.719090] ? do_mlock+0x15f/0x310
[ 63.722567] ? __x64_sys_mlock+0x31/0x40
[ 63.726473] ? do_syscall_64+0x68/0x210
[ 63.730290] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe
[ 63.735494] ? create_object+0x8c/0x470
[ 63.739320] ? __slab_alloc.isra.71+0x4a/0x80
[ 63.743660] __slab_alloc.isra.71+0x4a/0x80
[ 63.747827] ? create_object+0x8c/0x470
[ 63.751650] kmem_cache_alloc+0x234/0x2a0
[ 63.755650] create_object+0x8c/0x470
[ 63.759308] ? kmemleak_disable+0x80/0x80
[ 63.763311] ? kasan_unpoison_shadow+0x30/0x40
[ 63.767733] ? __kasan_kmalloc.constprop.5+0xc1/0xd0
[ 63.772680] kmem_cache_alloc+0x173/0x2a0
[ 63.776680] ? get_swap_page+0x1a4/0x350
[ 63.780590] xas_alloc+0x124/0x150
[ 63.783988] xas_create+0x166/0x620
[ 63.787480] xas_create_range+0xb6/0x250
[ 63.791398] add_to_swap_cache+0x34e/0x670
[ 63.795493] ? show_swap_cache_info+0xa0/0xa0
[ 63.799840] ? get_swap_page+0x2b0/0x350
[ 63.803760] ? page_get_anon_vma+0x2e0/0x2e0
[ 63.808024] add_to_swap+0x8b/0xe0
[ 63.811420] shrink_page_list+0xa96/0x1b20
[ 63.815514] ? page_evictable+0x140/0x140
[ 63.819518] ? isolate_lru_pages.isra.80+0x53a/0x710
[ 63.824471] ? match_held_lock+0x1b/0x230
[ 63.828471] ? __isolate_lru_page+0x280/0x280
[ 63.832810] ? find_held_lock+0xb3/0xd0
[ 63.836634] ? mark_lock+0x66/0x8d0
[ 63.840123] ? mark_held_locks+0x92/0xb0
[ 63.844039] ? _raw_spin_unlock_irq+0x29/0x50
[ 63.848381] shrink_inactive_list+0x26e/0x5c0
[ 63.852730] ? lockdep_hardirqs_off+0x90/0x100
[ 63.857154] ? putback_inactive_pages+0x690/0x690
[ 63.861834] ? sched_clock_cpu+0x18/0x130
[ 63.865828] ? find_held_lock+0xb3/0xd0
[ 63.869652] ? mark_lock+0x66/0x8d0
[ 63.873142] ? mark_held_locks+0x92/0xb0
[ 63.877050] ? node_page_state+0x25/0x40
[ 63.880960] shrink_node_memcg.constprop.83+0x2f7/0xa10
[ 63.886175] ? shrink_active_list+0x730/0x730
[ 63.890534] ? shrink_slab.constprop.87+0x343/0x5f0
[ 63.895406] ? prepare_kswapd_sleep+0xa0/0xa0
[ 63.899754] ? sched_clock_cpu+0x18/0x130
[ 63.903758] ? find_held_lock+0xb3/0xd0
[ 63.907585] shrink_node+0x10b/0x5a0
[ 63.911159] ? mark_held_locks+0x92/0xb0
[ 63.915074] ? shrink_node_memcg.constprop.83+0xa10/0xa10
[ 63.920445] ? lockdep_hardirqs_on+0x17a/0x250
[ 63.924869] ? recalibrate_cpu_khz+0x10/0x10
[ 63.929120] ? ktime_get+0x5f/0x120
[ 63.932599] do_try_to_free_pages+0x185/0x550
[ 63.936953] try_to_free_pages+0x1ae/0x3d0
[ 63.941043] ? do_try_to_free_pages+0x550/0x550
[ 63.945569] __alloc_pages_slowpath+0x57f/0x13f0
[ 63.950176] ? __zone_watermark_ok+0x6a/0x180
[ 63.954533] ? warn_alloc+0x120/0x120
[ 63.958189] ? match_held_lock+0x1b/0x230
[ 63.962184] ? sched_clock_cpu+0x18/0x130
[ 63.966188] ? __isolate_free_page+0x280/0x280
[ 63.970619] ? fs_reclaim_acquire.part.103+0x5/0x30
[ 63.975486] __alloc_pages_nodemask+0x422/0x470
[ 63.980007] ? __alloc_pages_slowpath+0x13f0/0x13f0
[ 63.984867] ? release_pages+0x48f/0x550
[ 63.988781] ? match_held_lock+0x1b/0x230
[ 63.992778] alloc_pages_vma+0x7e/0x250
[ 63.996608] __handle_mm_fault+0x10ae/0x1c20
[ 64.000867] ? lock_downgrade+0x2c0/0x2c0
[ 64.004864] ? __pmd_alloc+0x220/0x220
[ 64.008611] ? handle_mm_fault+0xfc/0x1a0
[ 64.012616] __get_user_pages+0x354/0xb30
[ 64.016619] ? follow_page_mask+0x800/0x800
[ 64.020789] ? match_held_lock+0x1b/0x230
[ 64.024786] ? find_held_lock+0xb3/0xd0
[ 64.028614] ? lock_contended+0x660/0x660
[ 64.032614] ? lock_acquire+0xbd/0x1d0
[ 64.036355] populate_vma_page_range+0xf9/0x130
[ 64.040872] __mm_populate+0x12a/0x1f0
[ 64.044614] ? populate_vma_page_range+0x130/0x130
[ 64.049385] ? cap_capable+0xba/0xf0
[ 64.052955] do_mlock+0x15f/0x310
[ 64.056265] ? lockdep_hardirqs_off+0xb5/0x100
[ 64.060694] __x64_sys_mlock+0x31/0x40
[ 64.064429] do_syscall_64+0x68/0x210
[ 64.068080] entry_SYSCALL_64_after_hwframe+0x49/0xbe
[ 64.073108] RIP: 0033:0x43d647
[ 64.076155] Code: 00 66 90 b8 1b 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 7d a6 fc ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 95 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 5d a6 fc ff c3 66 2e 0f 1f 84 00 00 00 00
[ 64.094801] RSP: 002b:00007ffe02331578 EFLAGS: 00000202 ORIG_RAX: 0000000000000095
[ 64.102328] RAX: ffffffffffffffda RBX: 0000000314400000 RCX: 000000000043d647
[ 64.109428] RDX: fffffffffffff001 RSI: 0000000314400000 RDI: 00007f1de15a2000
[ 64.116522] RBP: 00007f1de15a2000 R08: 0000000000000003 R09: 0000000000000000
[ 64.123619] R10: 0000000000000002 R11: 0000000000000202 R12: 0000000314400000
[ 64.130717] R13: 00007ffe02331680 R14: 0000000000000000 R15: 0000000000000000
[ 64.137829] irq event stamp: 268774
[ 64.141313] hardirqs last enabled at (268773): [<ffffffff8206a741>] _raw_spin_unlock_irqrestore+0x51/0x60
[ 64.150911] hardirqs last disabled at (268774): [<ffffffff8206a3c0>] _raw_spin_lock_irq+0x10/0x80
[ 64.159733] softirqs last enabled at (268762): [<ffffffff8240044f>] __do_softirq+0x44f/0x59d
[ 64.168209] softirqs last disabled at (268741): [<ffffffff81102f12>] irq_exit+0xe2/0x100
[ 64.176253] ---[ end trace 88bc2234f39a5390 ]---
[ 64.180849] kmemleak: Cannot allocate a kmemleak_object structure
[ 64.187024] kmemleak: Kernel memory leak detector disabled
[ 64.208189] kmemleak: Automatic memory scanning thread ended
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment