[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACVXFVPCWFjpgzgjiaZKMLjtrWcVUHM863aMs0hRBLr0MLF=5Q@mail.gmail.com>
Date: Thu, 11 Apr 2013 18:09:53 +0800
From: Ming Lei <tom.leiming@...il.com>
To: Bjørn Mork <bjorn@...k.no>
Cc: Oliver Neukum <oliver@...kum.org>, Dan Williams <dcbw@...hat.com>,
Elina Pasheva <epasheva@...rrawireless.com>,
Network Development <netdev@...r.kernel.org>,
linux-usb <linux-usb@...r.kernel.org>,
Rory Filer <rfiler@...rrawireless.com>,
Phil Sutter <phil@....cc>
Subject: Re: [PATCH 1/2 v5] usbnet: allow status interrupt URB to always be active
On Thu, Apr 11, 2013 at 6:04 PM, Bjørn Mork <bjorn@...k.no> wrote:
> Ming Lei <tom.leiming@...il.com> 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 netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists