Re: [PATCH 11/11] drm/i915/gem: Drop cached obj->bind_count

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

 



On Tue, 31 Mar 2020 at 22:31, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
>
> We cached the number of vma bound to the object in order to speed up
> shrinker decisions. This has been superseded by being more proactive in
> removing objects we cannot shrink from the shrinker lists, and so we can
> drop the clumsy attempt at atomically counting the bind count and
> comparing it to the number of pinned mappings of the object. This will
> only get more clumsier with asynchronous binding and unbinding.
>
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux