igt@gem_pwrite@basic-exhaustion - incomplete - Out of memory
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_795/fi-bwr-2160/igt@gem_pread@exhaustion.html
Dmesg
<6> [151.443816] Console: switching to colour dummy device 80x25
<6> [151.448947] [IGT] gem_pread: executing
<6> [151.471762] [IGT] gem_pread: starting subtest exhaustion
<6> [164.685467] systemd-udevd (8700) used greatest stack depth: 11512 bytes left
<6> [166.684616] Purging GPU memory, 0 pages freed, 0 pages still pinned, 2025 pages left available.
<4> [166.684948] gem_pread invoked oom-killer: gfp_mask=0x40cc0(GFP_KERNEL|__GFP_COMP), order=0, oom_score_adj=1000
<4> [166.685007] CPU: 0 PID: 1228 Comm: gem_pread Not tainted 5.12.0-rc1-g3108bcbbbf191-drmtip_795+ #1
<4> [166.685016] Hardware name: Dell Inc. OptiPlex 745 /0GW726, BIOS 2.3.1 05/21/2007
<4> [166.685023] Call Trace:
<4> [166.685031] dump_stack+0x7f/0xad
<4> [166.685047] dump_header+0x47/0x2fa
<4> [166.685062] oom_kill_process.cold.37+0xb/0x10
<4> [166.685077] out_of_memory+0x119/0x3a0
<4> [166.685094] __alloc_pages_slowpath.constprop.141+0xc16/0xd00
<4> [166.685142] __alloc_pages_nodemask+0x2c7/0x320
<4> [166.685166] allocate_slab+0x34f/0x430
<4> [166.685182] ___slab_alloc.constprop.98+0x79c/0xb30
<4> [166.685204] ? vm_area_dup+0x1c/0xa0
<4> [166.685222] ? __slab_alloc.isra.89.constprop.97+0x64/0xb0
<4> [166.685238] ? vm_area_dup+0x1c/0xa0
<4> [166.685248] __slab_alloc.isra.89.constprop.97+0x88/0xb0
<4> [166.685262] ? vm_area_dup+0x1c/0xa0
<4> [166.685271] kmem_cache_alloc+0x323/0x400
<4> [166.685289] vm_area_dup+0x1c/0xa0
<4> [166.685374] ? vm_get_page_prot+0x30/0x30
<4> [166.685383] ? __vma_adjust+0x63a/0x9a0
<4> [166.685415] __split_vma+0x44/0x160
<4> [166.685430] mprotect_fixup+0x27c/0x2f0
<4> [166.685455] do_mprotect_pkey+0x1e8/0x370
<4> [166.685477] __x64_sys_mprotect+0x16/0x20
<4> [166.685486] do_syscall_64+0x33/0x80
<4> [166.685495] entry_SYSCALL_64_after_hwframe+0x44/0xae
<4> [166.685503] RIP: 0033:0x7f0ef6cfdb0b
<4> [166.685516] Code: Unable to access opcode bytes at RIP 0x7f0ef6cfdae1.
<4> [166.685522] RSP: 002b:00007fffd3ccc788 EFLAGS: 00000206 ORIG_RAX: 000000000000000a
<4> [166.685534] RAX: ffffffffffffffda RBX: 0000000000801000 RCX: 00007f0ef6cfdb0b
<4> [166.685541] RDX: 0000000000000003 RSI: 0000000000800000 RDI: 00007ef9f8549000
<4> [166.685547] RBP: 00007fffd3ccc860 R08: 00000000ffffffff R09: 00007ef9f8d48700
<4> [166.685553] R10: 0000000000020022 R11: 0000000000000206 R12: 0000000000001000
<4> [166.685558] R13: 00007ef9f8d48700 R14: 00007fffd3ccc7f0 R15: 0000000000802000
<4> [166.685658] Mem-Info:
<4> [166.685666] active_anon:52 inactive_anon:11 isolated_anon:0
active_file:52 inactive_file:12 isolated_file:0
unevictable:44822 dirty:6 writeback:10
slab_reclaimable:16217 slab_unreclaimable:103460
mapped:25 shmem:44822 pagetables:11898 bounce:0
free:13649 free_pcp:0 free_cma:0
<4> [166.685678] Node 0 active_anon:208kB inactive_anon:44kB active_file:208kB inactive_file:48kB unevictable:179288kB isolated(anon):0kB isolated(file):0kB mapped:100kB dirty:24kB writeback:40kB shmem:179288kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB kernel_stack:175248kB pagetables:47592kB all_unreclaimable? no
<4> [166.685691] DMA free:4316kB min:748kB low:932kB high:1116kB reserved_highatomic:0KB active_anon:16kB inactive_anon:40kB active_file:0kB inactive_file:0kB unevictable:2320kB writepending:28kB present:15992kB managed:15908kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
<4> [166.685703] lowmem_reserve[]: 0 915 915 915
<4> [166.685735] DMA32 free:50280kB min:50448kB low:61524kB high:72600kB reserved_highatomic:2048KB active_anon:396kB inactive_anon:436kB active_file:552kB inactive_file:48kB unevictable:176832kB writepending:0kB present:1021948kB managed:942620kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
<4> [166.685746] lowmem_reserve[]: 0 0 0 0
<4> [166.685777] DMA: 2*4kB (M) 2*8kB (UM) 0*16kB 13*32kB (M) 17*64kB (UM) 6*128kB (UM) 4*256kB (UM) 2*512kB (U) 0*1024kB 0*2048kB 0*4096kB = 4344kB
<4> [166.686009] DMA32: 585*4kB (UME) 1593*8kB (UMEH) 1129*16kB (UMH) 418*32kB (UMH) 65*64kB (UMH) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 50684kB
<6> [166.686107] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
<4> [166.686115] 44934 total pagecache pages
<4> [166.686121] 36 pages in swap cache
<4> [166.686126] Swap cache stats: add 74351, delete 74316, find 1141/1841
<4> [166.686134] Free swap = 1808892kB
<4> [166.686139] Total swap = 2097148kB
<4> [166.686145] 259485 pages RAM
<4> [166.686150] 0 pages HighMem/MovableOnly
<4> [166.686156] 19853 pages reserved
<6> [166.686163] Unreclaimable slab info:
<6> [166.686311] Name Used Total
<6> [166.686342] i915_vma 14364KB 14389KB
<6> [166.686391] drm_i915_gem_object 22095KB 22124KB
<6> [166.686402] i915_lut_handle 0KB 7KB
<6> [166.686410] intel_context 3KB 15KB
<6> [166.686420] active_node 0KB 8KB
<6> [166.686429] fuse_request 0KB 7KB
<6> [166.686437] bio-112 1KB 8KB
<6> [166.686462] bio-296 1KB 15KB
<6> [166.686477] fib6_nodes 4KB 8KB
<6> [166.686486] ip6_dst_cache 2KB 7KB
<6> [166.686496] RAWv6 48KB 93KB
<6> [166.686506] UDPv6 0KB 30KB
<6> [166.686517] TCPv6 3KB 29KB
<6> [166.686531] scsi_sense_cache 3KB 8KB
<6> [166.686540] sd_ext_cdb 0KB 7KB
<6> [166.686548] sgpool-128 8KB 31KB
<6> [166.686556] sgpool-64 4KB 31KB
<6> [166.686564] sgpool-32 2KB 31KB
<6> [166.686572] sgpool-16 1KB 15KB
<6> [166.686580] sgpool-8 1KB 15KB
<6> [166.686588] mqueue_inode_cache 1KB 30KB
<6> [166.686602] jbd2_inode 11KB 54KB
<6> [166.686612] ext4_system_zone 47KB 53KB
<6> [166.686620] ext4_io_end_vec 0KB 15KB
<6> [166.686629] ext4_bio_post_read_ctx 53KB 55KB
<6> [166.686641] userfaultfd_ctx_cache 0KB 15KB
<6> [166.686658] bio-200 2KB 7KB
<6> [166.686671] UNIX 382KB 428KB
<6> [166.686683] tcp_bind_bucket 1KB 8KB
<6> [166.686695] ip_fib_trie 4KB 7KB
<6> [166.686703] ip_fib_alias 5KB 7KB
<6> [166.686711] ip_dst_cache 5KB 7KB
<6> [166.686721] RAW 57KB 94KB
<6> [166.686730] UDP 4KB 32KB
<6> [166.686738] tw_sock_TCP 0KB 7KB
<6> [166.686746] request_sock_TCP 0KB 7KB
<6> [166.686754] TCP 9KB 31KB
<6> [166.686762] hugetlbfs_inode_cache 2KB 15KB
<6> [166.686771] bio-240 20KB 22KB
<6> [166.686780] ep_head 50KB 63KB
<6> [166.686788] eventpoll_pwq 69KB 78KB
<6> [166.686797] eventpoll_epi 89KB 104KB
<6> [166.686806] inotify_inode_mark 51KB 54KB
<6> [166.686815] request_queue 3KB 29KB
<6> [166.686823] blkdev_ioc 224KB 225KB
<6> [166.686831] bio-176 1KB 31KB
<6> [166.686840] biovec-max 177KB 279KB
<6> [166.686848] biovec-128 0KB 31KB
<6> [166.686856] biovec-64 0KB 31KB
<6> [166.686864] biovec-16 0KB 15KB
<6> [166.686872] khugepaged_mm_slot 7KB 7KB
<6> [166.686881] user_namespace 0KB 15KB
<6> [166.686889] uid_cache 2KB 7KB
<6> [166.686901] skbuff_fclone_cache 0KB 15KB
<6> [166.686909] skbuff_head_cache 30KB 37KB
<6> [166.686917] configfs_dir_cache 0KB 7KB
<6> [166.686926] file_lock_cache 1KB 15KB
<6> [166.686934] file_lock_ctx 3KB 7KB
<6> [166.686943] fsnotify_mark_connector 41KB 45KB
<6> [166.686951] net_namespace 5KB 31KB
<6> [166.686959] task_delay_info 5135KB 5139KB
<6> [166.686968] taskstats 10KB 30KB
<6> [166.686977] proc_dir_entry 242KB 270KB
<6> [166.686985] pde_opener 0KB 7KB
<6> [166.686993] seq_file 4KB 15KB
<6> [166.687001] sigqueue 0KB 7KB
<6> [166.687010] shmem_inode_cache 17739KB 17759KB
<6> [166.687019] kernfs_iattrs_cache 122KB 135KB
<6> [166.687027] kernfs_node_cache 10532KB 10536KB
<6> [166.687036] mnt_cache 334KB 378KB
<6> [166.687044] filp 20615KB 20622KB
<6> [166.687053] names_cache 0KB 62KB
<6> [166.687062] key_jar 30KB 47KB
<6> [166.687070] uts_namespace 1KB 15KB
<6> [166.687078] nsproxy 3KB 7KB
<6> [166.687086] vm_area_struct 16145KB 16145KB
<6> [166.687095] mm_struct 90KB 160KB
<6> [166.687103] fs_cache 28KB 31KB
<6> [166.687112] files_cache 63KB 75KB
<6> [166.687120] signal_cache 225KB 286KB
<6> [166.687129] sighand_cache 307KB 338KB
<6> [166.687137] task_struct 109540KB 109560KB
<6> [166.687146] cred_jar 121KB 133KB
<6> [166.687155] anon_vma_chain 5891KB 5898KB
<6> [166.687163] anon_vma 6865KB 6871KB
<6> [166.687171] pid 6842KB 6847KB
<6> [166.687179] Acpi-Operand 486KB 533KB
<6> [166.687188] Acpi-ParseExt 0KB 7KB
<6> [166.687196] Acpi-Parse 1KB 7KB
<6> [166.687204] Acpi-State 0KB 23KB
<6> [166.687212] Acpi-Namespace 191KB 196KB
<6> [166.687220] trace_event_file 380KB 385KB
<6> [166.687228] ftrace_event_field 1051KB 1055KB
<6> [166.687237] pool_workqueue 34KB 63KB
<6> [166.687245] task_group 40KB 47KB
<6> [166.687253] vmap_area 8662KB 8667KB
<6> [166.687261] debug_objects_cache 4844KB 4847KB
<6> [166.687269] page->ptl 4652KB 4656KB
<6> [166.687297] kmalloc-8k 1176KB 1248KB
<6> [166.687306] kmalloc-4k 2952KB 3000KB
<6> [166.687318] kmalloc-2k 3534KB 3840KB
<6> [166.687325] kmalloc-1k 33948KB 33966KB
<6> [166.687334] kmalloc-512 18586KB 18609KB
<6> [166.687343] kmalloc-256 388KB 416KB
<6> [166.687351] kmalloc-192 7796KB 7799KB
<6> [166.687387] kmalloc-128 6206KB 6210KB
<6> [166.687397] kmalloc-96 5609KB 5611KB
<6> [166.687405] kmalloc-64 29724KB 29724KB
<6> [166.687413] kmalloc-32 14013KB 14016KB
<6> [166.687421] kmalloc-16 4800KB 4807KB
<6> [166.687429] kmalloc-8 950KB 958KB
<6> [166.687438] kmem_cache_node 110KB 112KB
<6> [166.687446] kmem_cache 138KB 142KB
<6> [166.687453] Tasks state (memory values in pages):
<6> [166.687459] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name
<6> [166.687480] [ 148] 0 148 20402 11 188416 300 -250 systemd-journal
<6> [166.687780] [ 175] 0 175 5189 11 69632 842 -1000 systemd-udevd
<6> [166.687796] [ 251] 101 251 6025 0 90112 1036 0 systemd-resolve
<6> [166.687809] [ 263] 0 263 637 0 40960 50 0 acpid
<6> [166.687822] [ 267] 103 267 1988 11 57344 308 -900 dbus-daemon
<6> [166.687835] [ 276] 0 276 20483 11 57344 113 0 irqbalance
<6> [166.687848] [ 285] 0 285 14157 11 126976 2071 0 networkd-dispat
<6> [166.687861] [ 295] 104 295 56089 0 77824 1075 0 rsyslogd
<6> [166.687874] [ 298] 0 298 4264 0 69632 264 0 systemd-logind
<6> [166.687887] [ 323] 0 323 124289 0 192512 1302 0 NetworkManager
<6> [166.687900] [ 369] 0 369 3046 11 61440 231 -1000 sshd
<6> [166.687913] [ 432] 0 432 4900 0 53248 34 0 agetty
<6> [166.687926] [ 480] 111 480 38235 0 65536 78 0 rtkit-daemon
<6> [166.687939] [ 490] 0 490 59740 0 98304 741 0 polkitd
<6> [166.687952] [ 524] 0 524 98810 0 135168 1172 0 udisksd
<6> [166.687965] [ 578] 0 578 65829 0 118784 337 0 upowerd
<6> [166.687978] [ 618] 0 618 3490 8 69632 364 0 sshd
<6> [166.687990] [ 624] 1000 624 4647 0 81920 414 0 systemd
<6> [166.688003] [ 628] 1000 628 5323 0 77824 798 0 (sd-pam)
<6> [166.688016] [ 633] 1000 633 72824 0 151552 484 0 pulseaudio
<6> [166.688029] [ 636] 1000 636 130778 11 196608 2511 0 tracker-miner-f
<6> [166.688042] [ 640] 1000 640 138502 0 126976 632 0 ubuntu-report
<6> [166.688055] [ 653] 1000 653 1846 11 53248 177 0 dbus-daemon
<6> [166.688068] [ 655] 1000 655 3523 11 69632 373 0 sshd
<6> [166.688080] [ 659] 1000 659 62716 11 106496 238 0 gvfsd
<6> [166.688093] [ 667] 1000 667 79131 0 98304 794 0 gvfsd-fuse
<6> [166.688106] [ 687] 1000 687 82154 0 118784 908 0 gvfs-udisks2-vo
<6> [166.688119] [ 700] 1000 700 61760 0 94208 189 0 gvfs-goa-volume
<6> [166.688132] [ 705] 1000 705 140928 0 286720 1554 0 goa-daemon
<6> [166.688145] [ 715] 1000 715 82442 0 122880 365 0 goa-identity-se
<6> [166.688158] [ 720] 1000 720 81973 0 118784 283 0 gvfs-afc-volume
<6> [166.688171] [ 731] 1000 731 61717 0 98304 182 0 gvfs-mtp-volume
<6> [166.688184] [ 737] 1000 737 62320 0 102400 229 0 gvfs-gphoto2-vo
<6> [166.688197] [ 745] 1000 745 103196 11 163840 2112 0 tumblerd
<6> [166.688210] [ 752] 1000 752 655827 0 417792 19282 -1000 java
<6> [166.688224] [ 792] 1000 792 5166 11 65536 74 0 bash
<6> [166.688237] [ 896] 1000 896 43355 2 90112 164 0 gvfsd-metadata
<6> [166.688250] [ 940] 0 940 5771 8 69632 179 0 sudo
<6> [166.688263] [ 946] 0 946 967 0 45056 33 0 rngd
<6> [166.688276] [ 978] 1000 978 4886 24 61440 18 0 dmesg
<6> [166.688288] [ 992] 0 992 5772 8 69632 180 0 sudo
<6> [166.688301] [ 997] 0 997 13319 11 143360 510 -1000 igt_runner
<6> [166.688315] [ 1228] 0 1228 22016233 0 44564480 28969 1000 gem_pread
<6> [166.688325] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),global_oom,task_memcg=/user.slice/user-1000.slice/session-c2.scope,task=gem_pread,pid=1228,uid=0
<3> [166.813091] Out of memory: Killed process 1228 (gem_pread) total-vm:88064932kB, anon-rss:0kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:43520kB oom_score_adj:1000
<4> [168.962790] 2 locks held by gem_pread/7981:
<4> [168.962795] #0: ffff888030b2e268 (&tsk->futex_exit_mutex){+.+.}-{3:3}, at: futex_cleanup_begin+0x1a/0x40
<4> [168.962825] #1: ffff88800eb48198 (&mm->mmap_lock#2){++++}-{3:3}, at: do_user_addr_fault+0x3e2/0x660