On Wed, 4 Aug 2010 22:16:58 +0200, Daniel Vetter <dan...@ffwll.ch> wrote:
> This way active buffers are scanned in retiring order, whereas your code
> scans them in issuing order. IMHO the former is the fairer approach for
> eviction when both rings are busy. I also think the code would look
> slightly less scary ;)

Hmm, I was aiming for retiring order, I may have missed. But yes, the true
goal is for this to be clear from the code, and here my preference was for
unrolling the loop so that the order was apparent. Obviously I have failed
on one or both accounts.

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to