Re: [PATCH 12/24] drm/i915: Store a persistent reference for an object in the execbuffer cache

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

 



On to, 2017-05-18 at 10:46 +0100, Chris Wilson wrote:
> If we take a reference to the object/vma when it is first used in an
> execbuf, we can keep that reference until the object's file-local handle
> is closed. Thereby saving a frequent ref/unref pair.
> 
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>

The benchmark this gives improvements on might make sense to add to the
commit message.

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