On Thu, Apr 11, 2013 at 6:04 PM, Bjørn Mork <bjorn@xxxxxxx> wrote: > Ming Lei <tom.leiming@xxxxxxxxx> writes: > > I think you are turning this the wrong way around. Please explain why > there are no use cases where different flags are needed. You seem to be > only concerned about the resume case. This API is not limited to > resuming. We pass mem_flags around all the time. It's the common thing > to do in any API where allocations may be required. No always, we can find many many APIs which doesn't have the memflags parameter but may allocate memory. My point is very simple: if GFP_KERNEL is enough, why bother to pass one memflag parameter? Thanks, -- Ming Lei -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html