Quoting Tvrtko Ursulin (2021-02-03 10:26:01) > From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> > > Walking the client "list" makes assumptions about the order of active and > free slots which means we need to sort the array after every update. > > Patch is mostly just code movement with the only functional difference of > eliminating two subsequent scans with no sort in between This closes a > very short window there list iteration could get confused if sysfs clients > would change rapidly and unfavourably during tool startup. > > Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx