Bug 73543

Summary: [BYT] igt/gem_ctx_exec/eviction fails with OOM killer
Product: DRI Reporter: lu hua <huax.lu>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: high CC: intel-gfx-bugs
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg none

Description lu hua 2014-01-13 08:58:27 UTC
Created attachment 91932 [details]
dmesg

System Environment:
--------------------------
Platform:  Baytrail
Kernel:    (drm-intel-nightly)24ed7daacf91b61ea39a71daa9e37e0e80a3392d

Bug detailed description:
---------------------------
It causes OOM killer on Baytrail with -nightly kernel. It always has this issue.

[   67.661040] Call Trace:
[   67.661080]  [<ffffffff817115f8>] ? dump_stack+0x41/0x51
[   67.661146]  [<ffffffff8170dbd7>] ? dump_header.isra.8+0x69/0x191
[   67.661219]  [<ffffffff8106df01>] ? ktime_get_ts+0x49/0xab
[   67.661285]  [<ffffffff812cf63a>] ? ___ratelimit+0xae/0xc8
[   67.661352]  [<ffffffff810a32c4>] ? oom_kill_process+0x76/0x2f8
[   67.661466]  [<ffffffff810a31ee>] ? oom_scan_process_thread+0x2d/0x8d
[   67.661549]  [<ffffffff810a3a5a>] ? out_of_memory+0x3b2/0x3e5
[   67.661619]  [<ffffffff810a7164>] ? __alloc_pages_nodemask+0x651/0x75e
[   67.661698]  [<ffffffff810d06c7>] ? alloc_pages_current+0xbf/0xdc
[   67.661769]  [<ffffffff810a2278>] ? filemap_fault+0x25c/0x381
[   67.661838]  [<ffffffff810b801a>] ? __do_fault+0xac/0x3bf
[   67.661904]  [<ffffffff810bb776>] ? handle_mm_fault+0x1e7/0x7e2
[   67.661975]  [<ffffffff8171996c>] ? __do_page_fault+0x41c/0x469
[   67.662046]  [<ffffffff810360fd>] ? timespec_add_safe+0x1e/0x4d
[   67.662117]  [<ffffffff810ec47b>] ? dput+0x16/0xeb
[   67.662175]  [<ffffffff8106df01>] ? ktime_get_ts+0x49/0xab
[   67.662241]  [<ffffffff810e98b2>] ? poll_select_copy_remaining+0xe0/0xf6
[   67.662318]  [<ffffffff81716f32>] ? page_fault+0x22/0x30
[   67.662381] Mem-Info:
[   67.662435] Node 0 DMA per-cpu:
[   67.662485] CPU    0: hi:    0, btch:   1 usd:   0
[   67.662542] CPU    1: hi:    0, btch:   1 usd:   0
[   67.662596] Node 0 DMA32 per-cpu:
[   67.662641] CPU    0: hi:  186, btch:  31 usd:   0
[   67.662697] CPU    1: hi:  186, btch:  31 usd:   0
[   67.662757] active_anon:17791 inactive_anon:218022 isolated_anon:32

Reproduce steps:
-------------------------
1. ./gem_ctx_exec --run-subtest eviction
Comment 1 Daniel Vetter 2014-01-14 10:35:35 UTC
Please retest with latest i-g-t, since

commit 7775fca2df815dfee18b181de6fe13df27bb9867
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Jan 8 20:24:36 2014 +0100

    tests/gem_ctx_exec: fix ram requirement fumble

it should correctly skip on low-memory machines like these.
Comment 2 lu hua 2014-01-22 07:12:59 UTC
(In reply to comment #1)
> Please retest with latest i-g-t, since
> 
> commit 7775fca2df815dfee18b181de6fe13df27bb9867
> Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> Date:   Wed Jan 8 20:24:36 2014 +0100
> 
>     tests/gem_ctx_exec: fix ram requirement fumble
> 
> it should correctly skip on low-memory machines like these.

Skip now.
Comment 3 Elizabeth 2017-10-06 14:40:38 UTC
Closing old verified.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.