Quoting James Xiong (2018-05-05 01:56:05)
> From: "Xiong, James" <james.xi...@intel.com>
> 
> When one of cached buffers is found to be evicted by kernel,
> most likely the buffers freed earlier than this buffer are
> gone too, go through the cached list in the bucket and purge.

The order in this list bears little relevance to the MRU lists in the
kernel. (I wish it did.) So why? The list will be processed in due
course, so why pay the cost now? Even in the worst case, they will be
cleaned up as we are in the middle of processing the lists.
-Chris
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to