[Bug 100589] [BXT/SKL]gem_mmap_gtt/copy* are killiing process, out of memory

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 6 12:06:06 UTC 2017


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

Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Chris Wilson <chris at chris-wilson.co.uk> ---
commit b268d9fe0f10544f5f7a1b7015e2b97075e6215d
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Apr 5 23:15:14 2017 +0100

    drm/i915: Use the right mapping_gfp_mask for final shmem allocation

    Many sightings report the greater prevalence of allocation failures.
    This is all due to the incorrect use of mapping_gfp_constraint(), so
    remove it in favour of just querying the mapping_gfp_mask() which are
    the exact gfp_t we wanted in the first place.

    We still do expect a higher chance of reporting ENOMEM, as that is the
    intention of using __GFP_NORETRY -- to fail rather than oom after having
    reclaimed from our bo caches, and having done a direct|kswapd reclaim
    pass.

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


More information about the intel-gfx-bugs mailing list