Lockdep spalt on killing a processes

Andrey Grodzovsky andrey.grodzovsky at amd.com
Mon Nov 1 15:24:14 UTC 2021


Pushed to drm-misc-next

Andrey

On 2021-10-29 3:07 a.m., Christian König wrote:
>>
>> Attached a patch. Give it a try please, I tested it on my side and 
>> tried to generate the right conditions to trigger this code path by 
>> repeatedly submitting commands while issuing GPU reset to stop the 
>> scheduler and then killing command submissions process in the middle. 
>> But for some reason looks like the job_queue was always empty already 
>> at the time of entity kill.
>
> It was trivial to trigger with the stress utility I've hacked together:
>
> amdgpu_stress -b v 1g -b g 1g -c 1 2 1g 1k
>
> Then while it is copying just cntrl+c to kill it.
>
> The patch itself is:
>
> Tested-by: Christian König <christian.koenig at amd.com>
> Reviewed-by: Christian König <christian.koenig at amd.com>
>
> Thanks,
> Christian. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20211101/132c1995/attachment.htm>


More information about the amd-gfx mailing list