[Intel-gfx] [PATCH] drm/i915: Kill the tasklet then disable
Chris Wilson
chris at chris-wilson.co.uk
Sun Feb 12 13:04:13 UTC 2017
On Sun, Feb 12, 2017 at 10:31:48AM +0000, Chris Wilson wrote:
> Disabling the tasklet leaves it if scheduled on the ready to run list
> until it is re-enabled. This will leave the ksoftird thread spinning
> until satisfied. To prevent this situation on starting the GPU reset, we
> want to kill the tasklet first and then disable. The same problem will
> arise when a tasklet is scheduled from another device, so a better
> solution is required for the general case.
Ok, the loop inside softirq is something else. I think there is still
some merit in using kill to remove the a scheduled tasklet, disable will
leave it on the queue for the next enable.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list