<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [IVB] gem_tiled_swapping threaded oom killed, high number of writeback pages/not freed/OOM killer should be excluded?"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97130#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [IVB] gem_tiled_swapping threaded oom killed, high number of writeback pages/not freed/OOM killer should be excluded?"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97130">bug 97130</a>
from <span class="vcard"><a class="email" href="mailto:jari.tahvanainen@intel.com" title="Jari Tahvanainen <jari.tahvanainen@intel.com>"> <span class="fn">Jari Tahvanainen</span></a>
</span></b>
<pre>Valid bug still on 4.11.0-rc4-drm-tip-qa-ww13-commit-5c7479a+ (IVB-1-0XR1GT)
e.g. ./gem_tiled_swapping --run-subtest non-threaded
IGT-Version: 1.18-ga27c743 (x86_64) (Linux:
4.11.0-rc4-drm-tip-qa-ww13-commit-5c7479a+ x86_64)
Using 640 1MiB objects (available RAM: 147/7857, swap: 16173)
Stack trace:
#0 [__igt_fail_assert+0x101]
#1 [gem_set_domain+0x44]
#2 [fill_bo+0x2f]
#3 [__real_main166+0x64]
#4 [main+0x33]
#5 [__libc_start_main+0xf1]
#6 [_start+0x29]
#7 [<unknown>+0x29]
Subtest non-threaded: FAIL (0.088s)
(gem_tiled_swapping:30615) ioctl-wrappers-CRITICAL: Test assertion failure
function gem_set_domain, file ioctl_wrappers.c:435:
(gem_tiled_swapping:30615) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_set_domain(fd, handle, read, write) == 0
(gem_tiled_swapping:30615) ioctl-wrappers-CRITICAL: Last errno: 12, Cannot
allocate memory
(gem_tiled_swapping:30615) ioctl-wrappers-CRITICAL: error: -12 != 0
Subtest non-threaded failed.
**** DEBUG ****
(gem_tiled_swapping:30615) ioctl-wrappers-CRITICAL: Test assertion failure
function gem_set_domain, file ioctl_wrappers.c:435:
(gem_tiled_swapping:30615) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_set_domain(fd, handle, read, write) == 0
(gem_tiled_swapping:30615) ioctl-wrappers-CRITICAL: Last errno: 12, Cannot
allocate memory
(gem_tiled_swapping:30615) ioctl-wrappers-CRITICAL: error: -12 != 0
**** END ****
Environment
PIGLIT_SOURCE_DIR="/home/gfx/intel-graphics/intel-gpu-tools/piglit"
PIGLIT_PLATFORM="mixed_glx_egl"
Command /home/gfx/intel-graphics/intel-gpu-tools/tests/gem_tiled_swapping
--run-subtest non-threaded
[ 7645.461921] warn_alloc: 25 callbacks suppressed
[ 7645.461922] gem_tiled_swapp: page allocation failure: order:0,
mode:0x1000(__GFP_NORETRY), nodemask=(null)
[ 7645.461931] CPU: 1 PID: 30615 Comm: gem_tiled_swapp Tainted: G U
4.11.0-rc4-drm-tip-qa-ww13-commit-5c7479a+ #1
[ 7645.461931] Hardware name: Dell Inc. Inspiron 660/0XR1GT , BIOS A11
10/14/2013
[ 7645.461932] Call Trace:
[ 7645.461940] dump_stack+0x63/0x90
[ 7645.461943] warn_alloc+0x10c/0x1a0
[ 7645.461945] __alloc_pages_slowpath+0xd48/0xe20
[ 7645.461948] ? check_preempt_wakeup+0x194/0x220
[ 7645.461950] __alloc_pages_nodemask+0x23a/0x250
[ 7645.461953] alloc_pages_vma+0xa2/0x270
[ 7645.461956] shmem_alloc_page+0x70/0xc0
[ 7645.461958] ? __schedule+0x3c1/0x8f0
[ 7645.461960] ? finish_wait+0x56/0x70
[ 7645.461962] ? __vm_enough_memory+0x29/0x130
[ 7645.461964] shmem_alloc_and_acct_page+0x72/0x1b0
[ 7645.461966] shmem_getpage_gfp+0x19f/0xcb0
[ 7645.461968] shmem_read_mapping_page_gfp+0x51/0x80
[ 7645.461996] i915_gem_object_get_pages_gtt+0x228/0x640 [i915]
[ 7645.462016] ____i915_gem_object_get_pages+0x20/0x60 [i915]
[ 7645.462033] __i915_gem_object_get_pages+0x5c/0x70 [i915]
[ 7645.462050] i915_gem_set_domain_ioctl+0x1ca/0x220 [i915]
[ 7645.462062] drm_ioctl+0x1ff/0x460 [drm]
[ 7645.462078] ? i915_gem_obj_prepare_shmem_write+0x160/0x160 [i915]
[ 7645.462081] ? apparmor_mmap_file+0x18/0x20
[ 7645.462084] ? security_mmap_file+0xda/0xf0
[ 7645.462087] do_vfs_ioctl+0xa1/0x5d0
[ 7645.462089] SyS_ioctl+0x79/0x90
[ 7645.462092] entry_SYSCALL_64_fastpath+0x1e/0xad
[ 7645.462093] RIP: 0033:0x7f56703188b7
[ 7645.462094] RSP: 002b:00007ffea7d42ed8 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[ 7645.462096] RAX: ffffffffffffffda RBX: 00007f56719f7000 RCX:
00007f56703188b7
[ 7645.462096] RDX: 00007ffea7d42f10 RSI: 00000000400c645f RDI:
0000000000000003
[ 7645.462097] RBP: 0000000000000003 R08: 0000000000000003 R09:
0000000105000000
[ 7645.462098] R10: 0000000000000001 R11: 0000000000000246 R12:
0000000000000050
[ 7645.462099] R13: 0000000001dffdac R14: 0000000000000003 R15:
0000000000000000
[ 7645.462101] warn_alloc_show_mem: 9 callbacks suppressed
[ 7645.462101] Mem-Info:
[ 7645.462104] active_anon:15964 inactive_anon:52909 isolated_anon:0
active_file:2593 inactive_file:2098 isolated_file:64
unevictable:1880318 dirty:0 writeback:5438 unstable:0
slab_reclaimable:5540 slab_unreclaimable:8135
mapped:4963 shmem:21889 pagetables:5499 bounce:0
free:25281 free_pcp:1267 free_cma:0
[ 7645.462108] Node 0 active_anon:63856kB inactive_anon:211636kB
active_file:10372kB inactive_file:8392kB unevictable:7521272kB
isolated(anon):0kB isolated(file):256kB mapped:19852kB dirty:0kB
writeback:21752kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 6301696kB anon_thp:
87556kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no
[ 7645.462109] Node 0 DMA free:15888kB min:132kB low:164kB high:196kB
active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB
unevictable:0kB writepending:0kB present:15992kB managed:15896kB mlocked:0kB
slab_reclaimable:0kB slab_unreclaimable:8kB kernel_stack:0kB pagetables:0kB
bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[ 7645.462112] lowmem_reserve[]: 0 3370 7804 7804 7804
[ 7645.462114] Node 0 DMA32 free:46780kB min:29124kB low:36404kB high:43684kB
active_anon:29684kB inactive_anon:7860kB active_file:784kB inactive_file:0kB
unevictable:3395124kB writepending:0kB present:3551632kB managed:3486064kB
mlocked:3395124kB slab_reclaimable:1200kB slab_unreclaimable:1340kB
kernel_stack:32kB pagetables:636kB bounce:0kB free_pcp:2664kB local_pcp:396kB
free_cma:0kB
[ 7645.462118] lowmem_reserve[]: 0 0 4434 4434 4434
[ 7645.462120] Node 0 Normal free:38456kB min:38324kB low:47904kB high:57484kB
active_anon:33960kB inactive_anon:203576kB active_file:9616kB
inactive_file:8644kB unevictable:4125984kB writepending:21744kB
present:4691968kB managed:4544600kB mlocked:4125984kB slab_reclaimable:20960kB
slab_unreclaimable:31192kB kernel_stack:3472kB pagetables:21360kB bounce:0kB
free_pcp:2404kB local_pcp:672kB free_cma:0kB
[ 7645.462123] lowmem_reserve[]: 0 0 0 0 0
[ 7645.462125] Node 0 DMA: 2*4kB (U) 1*8kB (U) 2*16kB (U) 1*32kB (U) 3*64kB (U)
2*128kB (U) 0*256kB 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15888kB
[ 7645.462135] Node 0 DMA32: 160*4kB (UM) 124*8kB (UME) 153*16kB (UM) 77*32kB
(UME) 56*64kB (UME) 37*128kB (UE) 27*256kB (UE) 17*512kB (E) 10*1024kB (E)
3*2048kB (E) 0*4096kB = 46864kB
[ 7645.462144] Node 0 Normal: 969*4kB (UM) 410*8kB (ME) 270*16kB (MEH) 79*32kB
(MEH) 49*64kB (MEH) 9*128kB (H) 9*256kB (H) 7*512kB (H) 4*1024kB (H) 3*2048kB
(H) 1*4096kB (H) = 38516kB
[ 7645.462155] 33632 total pagecache pages
[ 7645.462158] 6875 pages in swap cache
[ 7645.462159] Swap cache stats: add 6023568, delete 6013919, find
1637339/1872370
[ 7645.462160] Free swap = 16534268kB
[ 7645.462160] Total swap = 16642044kB
[ 7645.462161] 2064898 pages RAM
[ 7645.462161] 0 pages HighMem/MovableOnly
[ 7645.462161] 53258 pages reserved
[ 7645.462162] 0 pages cma reserved
[ 7645.462162] 0 pages hwpoisoned</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>