Re: [PATCH v1] dmaengine: dmatest: Fix dmatest waiting less when interrupted
From: Vinicius Costa Gomes
Date: Wed Apr 02 2025 - 23:45:09 EST
Nathan Lynch <nathan.lynch@xxxxxxx> writes:
> Vinicius Costa Gomes <vinicius.gomes@xxxxxxxxx> writes:
>> Nathan Lynch <nathan.lynch@xxxxxxx> writes:
>>
>>> Vinicius Costa Gomes <vinicius.gomes@xxxxxxxxx> writes:
>>>> Nathan Lynch <nathan.lynch@xxxxxxx> writes:
>>>>> dmatest_callback() employs wake_up_all(), which means this change
>>>>> introduces no beneficial difference in the wakeup behavior. The dmatest
>>>>> thread gets woken on receipt of the completion interrupt either way.
>>>>>
>>>>> And to reiterate, the change regresses the combination of dmatest and
>>>>> the task freezer, which is a use case people have cared about,
>>>>> apparently.
>>>>>
>>>>
>>>> If this change in behavior causes a regression for others, glad to send
>>>> a revert and find another solution.
>>>
>>> Thanks - yes it should be reverted or dropped IMO.
>>
>> Here's what I am thinking, I'll work on this a few days and see if I can
>> find an alternative solution and send the revert together with the fix.
>> If I can't find another solution in a few days, I'll propose the revert
>> anyway.
>
> Just checking on this - I see this regression is in Linus's master
> branch now.
I have a series with the revert, a (hopefully better) fix for this
issue, and a couple of others that I found along the way, that I should
be able to propose soon.
Cheers,
--
Vinicius