RE: [PATCH] net: usb: Convert tasklet API to new bottom half workqueue mechanism
From: Miao, Jun
Date: Tue Jun 10 2025 - 06:14:42 EST
>
>On 09.06.25 11:53, Miao, Jun wrote:
>
>>> You can change it to GFP_KERNEL since this is not atomic context now.
>>>
>>
>> Thanks, the usbnet_bh() function only be called by usbnet_bh_workqueue which
>is sleepable.
>
>Yes, but it can be waited on in usbnet_stop(), which in turn can be called for a
>device reset. Hence this must be GFP_NOIO, not GFP_KERNEL.
I will be send V2 with the Suggested-by !
Thanks
Jun Miao
>
> Regards
> Oliver