[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0835B3720019904CB8F7AA43166CEEB201A5E4ED@RTITMBSV06.realtek.com.tw>
Date: Tue, 13 Jun 2017 02:27:20 +0000
From: Hayes Wang <hayeswang@...ltek.com>
To: Oliver Neukum <oneukum@...e.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: nic_swsd <nic_swsd@...ltek.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>
Subject: RE: [PATCH net-next 1/2] r8152: split rtl8152_resume function
Oliver Neukum [mailto:oneukum@...e.com]
> Sent: Monday, June 12, 2017 8:33 PM
[...]
> > + usb_submit_urb(tp->intr_urb, GFP_KERNEL);
>
> If you ever built a device with included storage, this can deadlock,
> as you may want to wake up a device for memory that is needed to wake
> up a device. Use GFP_NOIO in resume() and reset_resume(), always.
I would change it. Thanks.
Best Regards,
Hayes
Powered by blists - more mailing lists