Thread (4 messages) 4 messages, 3 authors, 2012-10-10

Re: [PATCH 01/12] usbnet: introduce usbnet 3 command helpers

flat view

From: Ming Lei <hidden>
Date: 2012-10-10 05:56:18

Possibly related (same subject, not in this thread)

On Wed, Oct 10, 2012 at 11:19 AM, Ming Lei [off-list ref] wrote:
On Tue, Oct 9, 2012 at 4:47 PM, Oliver Neukum [off-list ref] wrote:
quoted
Using GFP_KERNEL you preclude using those in resume() and error handling.
Please pass a gfp_t parameter.
IMO, it is not a big deal because generally only several bytes are to be
allocated inside these helpers.
Also pm_restrict_gfp_mask()/pm_restore_gfp_mask() have been introduced
to address the problem for 2 years, looks the gfp_t isn't needed, doesn't it?

Thanks,
--
Ming Lei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help