[PATCH] drm/gem: Mark pinned pages as unevictable

Kuo-Hsin Yang vovoy at chromium.org
Fri Dec 14 09:33:19 UTC 2018


On Fri, Dec 14, 2018 at 4:59 PM Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
>
> Do you have a driver in mind (msm?) to demonstrate the use case?

On Samsung Chromebook Plus, the drm/rockchip driver may call
rockchip_gem_get_pages()/drm_gem_get_pages() to pin a lot of pages,
breaking the page reclaim mechanism and causing oom-killer invocation.

See also the chromebook bug: https://crbug.com/896805#c15 .

>
> > [1]: https://patchwork.freedesktop.org/patch/msgid/20181106132324.17390-1-chris@chris-wilson.co.uk
>
> Note that this first requires i915 merged into drm-misc-next.

The i915 patch has been merged to drm-misc-next.


More information about the dri-devel mailing list