On Wed, Apr 01, 2015 at 02:06:53PM +0100, Chris Wilson wrote: > Just use idx++ here and allocate a new handle one at a time. Just as > likely to be adjacent to the previous handle as the next one will be to > us. For extra paranoia, you could even try an evict-everything pass :) Which is as easy as igt_drop_caches_set(DROP_ALL); -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx