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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Kuo-Hsin Yang (2018-12-14 09:33:19)
> On Fri, Dec 14, 2018 at 4:59 PM Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> 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.

Hmm, but this doesn't change the unavailability of the pages, just how
much work the shrinker must do scanning the evictable lists containing
GEM pages to no avail. So it won't prevent an oom by itself because
rockchip will still be holding the pages.

Or?
-Chris
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux