[PATCH 2/3] drm/scheduler: Don't call wait_event_killable for signaled process.

Oleg Nesterov oleg at redhat.com
Wed Apr 25 17:17:57 UTC 2018


On 04/25, Andrey Grodzovsky wrote:
>
> here (drm_sched_entity_fini) is also a bad idea, but we still want to be
> able to exit immediately
> and not wait for GPU jobs completion when the reason for reaching this code
> is because of KILL
> signal to the user process who opened the device file.

Can you hook f_op->flush method?

Oleg.



More information about the amd-gfx mailing list