[Bug 72742] [ILK/HSW]igt/gem_tiled_swapping randomly causes OOM killer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 8 05:43:12 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=72742

--- Comment #47 from Chris Wilson <chris at chris-wilson.co.uk> ---
Something to try then:

diff --git a/mm/vmscan.c b/mm/vmscan.c
index a9c74b409681..3702d3aa6898 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -900,8 +900,8 @@ static unsigned long shrink_page_list(struct list_head
*page_list,
                                goto keep_locked;

                        /* Case 2 above */
-                       } else if (global_reclaim(sc) ||
-                           !PageReclaim(page) || !(sc->gfp_mask & __GFP_IO)) {
+                       } else if ((global_reclaim(sc) && !PageReclaim(page))
||
+                                  !(sc->gfp_mask & __GFP_IO)) {
                                /*
                                 * This is slightly racy - end_page_writeback()
                                 * might have just cleared PageReclaim, then

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140408/5b436098/attachment-0001.html>


More information about the intel-gfx-bugs mailing list