[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <PH7PR11MB84553D5B8C97EDEF4BF277009A6AA@PH7PR11MB8455.namprd11.prod.outlook.com>
Date: Tue, 10 Jun 2025 10:14:22 +0000
From: "Miao, Jun" <jun.miao@...el.com>
To: Oliver Neukum <oneukum@...e.com>, Subbaraya Sundeep <sbhatta@...vell.com>
CC: "andrew+netdev@...n.ch" <andrew+netdev@...n.ch>, "davem@...emloft.net"
<davem@...emloft.net>, "edumazet@...gle.com" <edumazet@...gle.com>,
"kuba@...nel.org" <kuba@...nel.org>, "netdev@...r.kernel.org"
<netdev@...r.kernel.org>, "linux-usb@...r.kernel.org"
<linux-usb@...r.kernel.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] net: usb: Convert tasklet API to new bottom half
workqueue mechanism
>
>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
Powered by blists - more mailing lists