igt@gem_pwrite@basic-exhaustion - incomplete - Out of memory: Killed process 1041 (gem_pwrite) total-vm:130015028kB
<6> [28.595104] Console: switching to colour dummy device 80x25
<6> [28.595153] [IGT] gem_pwrite: executing
<6> [28.599141] [IGT] gem_pwrite: starting subtest basic-exhaustion
<6> [28.606171] [drm] Initialized vgem 1.0.0 20120112 for vgem on minor 1
<4> [41.142500]
<4> [41.142511] ============================================
<4> [41.142517] WARNING: possible recursive locking detected
<4> [41.142522] 6.1.0-rc1-CI_DRM_12251-gff61e79b0171+ #1 Not tainted
<4> [41.142529] --------------------------------------------
<4> [41.142535] gem_pwrite/1041 is trying to acquire lock:
<4> [41.142541] ffff888106b8c2d8 (&mm->mmap_lock#2){++++}-{3:3}, at: __might_fault+0x31/0x80
<4> [41.142565]
but task is already holding lock:
<4> [41.142571] ffff888106b8c2d8 (&mm->mmap_lock#2){++++}-{3:3}, at: mcopy_atomic+0xb3/0xcb0
<4> [41.142586]
other info that might help us debug this:
<4> [41.142592] Possible unsafe locking scenario:
<4> [41.142598] CPU0
<4> [41.142601] ----
<4> [41.142604] lock(&mm->mmap_lock#2);
<4> [41.142610] lock(&mm->mmap_lock#2);
<4> [41.142615]
*** DEADLOCK ***
<4> [41.142622] May be due to missing lock nesting notation
<4> [41.142628] 1 lock held by gem_pwrite/1041:
<4> [41.142633] #0: ffff888106b8c2d8 (&mm->mmap_lock#2){++++}-{3:3}, at: mcopy_atomic+0xb3/0xcb0
<4> [41.142646]
stack backtrace:
<4> [41.142651] CPU: 7 PID: 1041 Comm: gem_pwrite Not tainted 6.1.0-rc1-CI_DRM_12251-gff61e79b0171+ #1
<4> [41.142661] Hardware name: Intel Corporation Tiger Lake Client Platform/TigerLake U DDR4 SODIMM RVP, BIOS TGLSFWI1.R00.3197.A00.2005110542 05/11/2020
<4> [41.142672] Call Trace:
<4> [41.142677] <TASK>
<4> [41.142681] dump_stack_lvl+0x56/0x7f
<4> [41.142694] validate_chain.cold.70+0x122/0x166
<4> [41.142706] ? wake_all_kswapds+0x58/0xc0
<4> [41.142716] __lock_acquire+0x5a4/0xb70
<4> [41.142727] lock_acquire+0xd3/0x310
<4> [41.142733] ? __might_fault+0x31/0x80
<4> [41.142742] __might_fault+0x5b/0x80
<4> [41.142757] ? __might_fault+0x31/0x80
<4> [41.142764] _copy_from_user+0x20/0xa0
<4> [41.142777] shmem_mfill_atomic_pte+0x35b/0x4c0
<4> [41.142791] mcopy_atomic+0x456/0xcb0
<4> [41.142801] userfaultfd_ioctl+0xb6c/0x1ad0
<4> [41.142813] ? find_held_lock+0x2d/0xa0
<4> [41.142826] ? __x64_sys_ioctl+0x6e/0xb0
<4> [41.142836] __x64_sys_ioctl+0x6e/0xb0
<4> [41.142843] do_syscall_64+0x37/0x90
<4> [41.142850] entry_SYSCALL_64_after_hwframe+0x63/0xcd
<4> [41.142869] RIP: 0033:0x7f9466ae550b
<4> [41.142883] Code: 0f 1e fa 48 8b 05 85 39 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 55 39 0d 00 f7 d8 64 89 01 48
<4> [41.142902] RSP: 002b:00007ffd96758fa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4> [41.142913] RAX: ffffffffffffffda RBX: 00007ffd96759150 RCX: 00007f9466ae550b
<4> [41.142921] RDX: 00007ffd96759150 RSI: 00000000c028aa03 RDI: 0000000000000009
<4> [41.142932] RBP: 00000000c028aa03 R08: 00007ffd96759150 R09: 0000000000000000
<4> [41.142952] R10: 00007f9466ca5ab7 R11: 0000000000000246 R12: 0000000000000001
<4> [41.142965] R13: 0000000000000009 R14: 0000000000000009 R15: 00007f946433ab78
<4> [41.142975] </TASK>
<4> [41.273948] thermald invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0
<4> [41.273987] CPU: 0 PID: 407 Comm: thermald Not tainted 6.1.0-rc1-CI_DRM_12251-gff61e79b0171+ #1
<4> [41.274003] Hardware name: Intel Corporation Tiger Lake Client Platform/TigerLake U DDR4 SODIMM RVP, BIOS TGLSFWI1.R00.3197.A00.2005110542 05/11/2020
<4> [41.274023] Call Trace:
<4> [41.274030] <TASK>
<4> [41.274038] dump_stack_lvl+0x56/0x7f
<4> [41.274056] dump_header+0x4f/0x49f
<4> [41.274068] ? _raw_spin_unlock_irqrestore+0x3d/0x70
<4> [41.274084] ? ___ratelimit+0x7d/0x110
<4> [41.274096] oom_kill_process.cold.46+0x125/0x197
<4> [41.274107] ? oom_badness.part.36+0x154/0x270
<4> [41.274122] out_of_memory+0xf6/0x530
<4> [41.274133] __alloc_pages_slowpath.constprop.160+0xb92/0xd10
<4> [41.274154] __alloc_pages+0x2bb/0x310
<4> [41.274165] __folio_alloc+0x12/0x40
<4> [41.274174] __read_swap_cache_async+0x121/0x380
<4> [41.274189] swapin_readahead+0x292/0x4b0
<4> [41.274203] do_swap_page+0x3dc/0xa00
<4> [41.274217] ? wp_page_reuse+0x4f/0x140
<4> [41.274228] __handle_mm_fault+0x782/0xb50
<4> [41.274242] handle_mm_fault+0x79/0x1e0
<4> [41.274251] do_user_addr_fault+0x1e7/0x690
<4> [41.274262] ? rcu_read_lock_held_common+0x9/0x50
<4> [41.274278] exc_page_fault+0x62/0x230
<4> [41.274300] asm_exc_page_fault+0x22/0x30
<4> [41.274313] RIP: 0033:0x7f068fa5dd84
<4> [41.274324] Code: 41 5d 41 5e 41 5f c3 0f 1f 80 00 00 00 00 83 c7 01 48 83 c3 08 41 39 fe 0f 8f ed fe ff ff e9 0e ff ff ff 0f 1f 00 48 8b 47 10 <4c> 8b 78 08 4d 85 ff 74 4b 83 45 58 01 48 89 ef e8 67 d7 04 00 48
<4> [41.274344] RSP: 002b:00007ffed2bc5750 EFLAGS: 00010246
<4> [41.274354] RAX: 00007f068fc0f260 RBX: 00007ffed2bc5758 RCX: 000056137edab0f0
<4> [41.274365] RDX: 0000000000000001 RSI: 00007ffed2bc5758 RDI: 000056137eda47a0
<4> [41.274377] RBP: 000056137eda0350 R08: 0000000000000000 R09: 0000000000000001
<4> [41.274388] R10: 000056137eda5980 R11: 0000000000000000 R12: 0000000000000000
<4> [41.274398] R13: 000000007fffffff R14: 00007ffed2bc5760 R15: 000056137eda0350
<4> [41.274411] </TASK>
<4> [41.274415] Mem-Info:
<4> [41.274422] active_anon:2262927 inactive_anon:1352354 isolated_anon:8214
active_file:195 inactive_file:475 isolated_file:67
unevictable:63264 dirty:15 writeback:36
slab_reclaimable:19953 slab_unreclaimable:144294
mapped:517 shmem:63577 pagetables:33145
sec_pagetables:0 bounce:0
kernel_misc_reclaimable:0
free:71354 free_pcp:994 free_cma:0
<4> [41.274475] Node 0 active_anon:9057864kB inactive_anon:5403260kB active_file:780kB inactive_file:1900kB unevictable:253056kB isolated(anon):32856kB isolated(file):268kB mapped:2068kB dirty:60kB writeback:144kB shmem:254308kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 9629696kB writeback_tmp:0kB kernel_stack:257216kB pagetables:132580kB sec_pagetables:0kB all_unreclaimable? no
<4> [41.274525] DMA free:15364kB boost:0kB min:64kB low:80kB high:96kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15364kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
<4> [41.274580] lowmem_reserve[]: 0 922 15742 15742
<4> [41.274603] DMA32 free:63236kB boost:0kB min:3956kB low:4944kB high:5932kB reserved_highatomic:0KB active_anon:4kB inactive_anon:852152kB active_file:0kB inactive_file:0kB unevictable:7576kB writepending:0kB present:1061592kB managed:950144kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
<4> [41.274670] lowmem_reserve[]: 0 0 14820 14820
<4> [41.274684] Normal free:206816kB boost:143004kB min:206564kB low:222452kB high:238340kB reserved_highatomic:2048KB active_anon:9084548kB inactive_anon:4526476kB active_file:1108kB inactive_file:1784kB unevictable:245480kB writepending:204kB present:15478784kB managed:15176184kB mlocked:0kB bounce:0kB free_pcp:3976kB local_pcp:244kB free_cma:0kB
<4> [41.274726] lowmem_reserve[]: 0 0 0 0
<4> [41.274739] DMA: 1*4kB (U) 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15364kB
<4> [41.274779] DMA32: 1*4kB (U) 4*8kB (UE) 14*16kB (UE) 10*32kB (UE) 11*64kB (UME) 12*128kB (UME) 8*256kB (UME) 10*512kB (M) 6*1024kB (ME) 1*2048kB (U) 11*4096kB (M) = 63236kB
<4> [41.274833] Normal: 209*4kB (UMEH) 3415*8kB (MEH) 2766*16kB (UMEH) 1689*32kB (UMEH) 818*64kB (UMEH) 211*128kB (UMH) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 205820kB
<4> [41.274912] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
<4> [41.274927] 517899 total pagecache pages
<4> [41.274935] 453578 pages in swap cache
<4> [41.274943] Free swap = 0kB
<4> [41.274950] Total swap = 2097148kB
<4> [41.274957] 4139092 pages RAM
<4> [41.274964] 0 pages HighMem/MovableOnly
<4> [41.274972] 103669 pages reserved
<6> [41.274980] Tasks state (memory values in pages):
<6> [41.274987] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name
<6> [41.275019] [ 200] 0 200 45655 60 380928 751 -250 systemd-journal
<6> [41.275034] [ 234] 0 234 5344 626 61440 378 -1000 systemd-udevd
<6> [41.275047] [ 320] 101 320 5976 0 86016 1006 0 systemd-resolve
<6> [41.275060] [ 373] 0 373 637 0 49152 42 0 acpid
<6> [41.275078] [ 375] 103 375 2051 248 53248 182 -900 dbus-daemon
<6> [41.275094] [ 381] 0 381 20474 71 61440 576 0 irqbalance
<6> [41.275109] [ 386] 0 386 12058 54 135168 2072 0 networkd-dispat
<6> [41.275125] [ 391] 0 391 967 0 49152 32 0 rngd
<6> [41.275141] [ 394] 102 394 56139 82 94208 1740 0 rsyslogd
<6> [41.275155] [ 406] 0 406 4232 33 73728 208 0 systemd-logind
<6> [41.275171] [ 407] 0 407 32201 158 118784 697 0 thermald
<6> [41.275186] [ 467] 0 467 66148 55 159744 1705 0 NetworkManager
<6> [41.275198] [ 527] 0 527 4066 13 69632 172 0 systemd-hostnam
<6> [41.275213] [ 533] 0 533 3073 57 65536 234 -1000 sshd
<6> [41.275228] [ 625] 1000 625 4596 70 73728 385 0 systemd
<6> [41.275243] [ 629] 1000 629 5236 8 73728 692 0 (sd-pam)
<6> [41.275258] [ 634] 1000 634 70664 0 147456 1493 0 pulseaudio
<6> [41.275274] [ 637] 1000 637 128550 143 208896 4428 0 tracker-miner-f
<6> [41.275288] [ 653] 1000 653 1903 73 57344 182 0 dbus-daemon
<6> [41.275308] [ 654] 109 654 38291 34 77824 1101 0 rtkit-daemon
<6> [41.275321] [ 658] 0 658 58792 56 98304 1713 0 polkitd
<6> [41.275337] [ 669] 1000 669 60562 56 118784 1257 0 gvfsd
<6> [41.275352] [ 687] 1000 687 78202 444 110592 2264 0 gvfsd-fuse
<6> [41.275367] [ 689] 1000 689 79174 1 135168 1874 0 gvfs-udisks2-vo
<6> [41.275384] [ 699] 0 699 98165 56 139264 2492 0 udisksd
<6> [41.275400] [ 700] 0 700 3518 116 65536 308 0 sshd
<6> [41.275415] [ 722] 1000 722 59559 0 110592 1202 0 gvfs-mtp-volume
<6> [41.275431] [ 736] 1000 736 59602 0 106496 1211 0 gvfs-goa-volume
<6> [41.275448] [ 738] 1000 738 3586 102 69632 448 0 sshd
<6> [41.275464] [ 743] 1000 743 139000 1 299008 3083 0 goa-daemon
<6> [41.275478] [ 759] 1000 759 79322 0 131072 1330 0 goa-identity-se
<6> [41.275493] [ 761] 1000 761 60161 55 118784 1246 0 gvfs-gphoto2-vo
<6> [41.275509] [ 778] 1000 778 79814 53 143360 1806 0 gvfs-afc-volume
<6> [41.275524] [ 793] 0 793 63685 55 139264 1377 0 upowerd
<6> [41.275540] [ 814] 1000 814 90900 55 184320 4048 0 tracker-store
<6> [41.275556] [ 815] 1000 815 213249 557 253952 6665 0 tumblerd
<6> [41.275571] [ 842] 0 842 2798 0 49152 40 0 agetty
<6> [41.275587] [ 845] 1000 845 1955657 14084 765952 25710 -1000 java
<6> [41.275602] [ 882] 1000 882 3008 43 57344 78 0 bash
<6> [41.275617] [ 1006] 1000 1006 2728 12 61440 22 0 dmesg
<6> [41.275633] [ 1034] 0 1034 3644 53 69632 183 0 sudo
<6> [41.275647] [ 1039] 0 1039 10843 63 126976 472 -1000 igt_runner
<6> [41.275663] [ 1041] 0 1041 32503757 3151868 130674688 447546 1000 gem_pwrite
<6> [41.275680] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=gem_pwrite,pid=1041,uid=0
<3> [41.287316] Out of memory: Killed process 1041 (gem_pwrite) total-vm:130015028kB, anon-rss:12607456kB, file-rss:0kB, shmem-rss:4kB, UID:0 pgtables:127612kB oom_score_adj:1000