Quoting Chris Wilson (2018-11-05 19:06:40) > As we may have to iterate a few thousand elements to acquire and release > the shmemfs backing storage for a GPU object, we need to break up the > long loop with cond_resched() to retain a modicum of low latency for > other processes. > > Testcase: igt/benchmarks/gem_syslatency > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Cc: Kuo-Hsin Yang <vovoy@xxxxxxxxxxxx> > Cc: Matthew Auld <matthew.auld@xxxxxxxxx> > Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Regards, Joonas _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx