Re: [PATCH] drm/i915: Don't pin LRC in GGTT when dumping in debugfs

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

 



On Thu, Nov 20, 2014 at 1:28 PM, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
>> Can you identify any situation where the pages may go away?
>
> Anytime you trigger an allocation, the system may reap any objects
> pages. It will even steal the dev->struct_mutex. To protect against the
> shrinker you have to call pin_pages(). Here, there are no allocations
> inside the loop and so you don't need to worry about the shrinker
> stealing your pages.

Hm actually I think better safe than sorry here. At least I have
(again) completely forgotten about our dear shrinker ...
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux