Re: [PATCH 6/7] drm/i915: Avoid evicting user fault mappable vma for pread/pwrite

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

 



On Mon, 2017-10-09 at 09:44 +0100, Chris Wilson wrote:
> Both pread/pwrite GTT paths provide a fast fallback in case we cannot
> map the whole object at a time. Currently, we use the fallback for very
> large objects and for active objects that would require remapping, but
> we can also add active fault mappable objects to the list that we want
> to avoid evicting. The rationale is that such fault mappable objects are
> in active use and to evict requires tearing down the CPU PTE and forcing
> a page fault on the next access; more costly, and intefers with other
> processes, than our per-page GTT fallback.
> 
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://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