When setting up reset, we may need to recursively prepare an engine. In
which case we should only synchronously flush the tasklets on the outer
most call, the inner calls will then be inside an atomic section where
the tasklet will never be run (and so the sync will never complete).
Quoting Mika Kuoppala (2018-05-16 15:24:56)
> Chris Wilson writes:
>
> > When setting up reset, we may need to recursively prepare an engine. In
> > which case we should only synchronously flush the tasklets on the outer
> > most call, the inner calls will then be
Chris Wilson writes:
> When setting up reset, we may need to recursively prepare an engine. In
> which case we should only synchronously flush the tasklets on the outer
> most call, the inner calls will then be inside an atomic section where
> the tasklet will never be
When setting up reset, we may need to recursively prepare an engine. In
which case we should only synchronously flush the tasklets on the outer
most call, the inner calls will then be inside an atomic section where
the tasklet will never be run (and so the sync will never complete).