<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - [ILK/HSW]igt/gem_tiled_swapping randomly causes OOM killer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72742#c84">Comment # 84</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - [ILK/HSW]igt/gem_tiled_swapping randomly causes OOM killer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72742">bug 72742</a>
from <span class="vcard"><a class="email" href="mailto:huax.lu@intel.com" title="lu hua <huax.lu@intel.com>"> <span class="fn">lu hua</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=99462" name="attach_99462" title="dmesg(ceabbb)">attachment 99462</a> <a href="attachment.cgi?id=99462&action=edit" title="dmesg(ceabbb)">[details]</a></span>
dmesg(ceabbb)
(In reply to <a href="show_bug.cgi?id=72742#c83">comment #83</a>)
<span class="quote">> commit ceabbba524fb43989875f66a6c06d7ce0410fe5c
> Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
> Date: Tue Mar 25 13:23:04 2014 +0000
>
> drm/i915: Include bound and active pages in the count of shrinkable
> objects
>
> When the machine is under a lot of memory pressure and being stressed by
> multiple GPU threads, we quite often report fewer than shrinker->batch
> (i.e. SHRINK_BATCH) pages to be freed. This causes the shrink_control to
> skip calling into i915.ko to release pages, despite the GPU holding onto
> most of the physical pages in its active lists.
>
> References: <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - [ILK/HSW]igt/gem_tiled_swapping randomly causes OOM killer"
href="show_bug.cgi?id=72742">https://bugs.freedesktop.org/show_bug.cgi?id=72742</a>
> Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
> Reviewed-by: Robert Beckett <<a href="mailto:robert.beckett@intel.com">robert.beckett@intel.com</a>>
> Reviewed-by: Rafael Barbalho <<a href="mailto:rafael.barbalho@intel.com">rafael.barbalho@intel.com</a>>
> Signed-off-by: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>></span >
Test this commit, It still fails with OOM killer.
output:
IGT-Version: 1.6-g737d248 (x86_64) (Linux: 3.14.0_kcloud_ceabbb_20140521+
x86_64)
Using 8169 1MiB objects (available RAM: 7510/7670, swap: 1999)
Killed</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>