Re: [PATCH v2 net-next] rtnl: Add GFP flag argument to rtnl_unicast()

From
Masashi Honma <hidden>
Date
2016-07-12 04:23:47
Reply to
David Miller, 2016-07-11
On 2016年07月12日 05:01, David Miller wrote:
The code is correct and optimal as-is.  There is no gain to your
changes.  gfp_any() will do the right thing.

In fact, your change makes the code more error prone because if any
of these code paths get moved into an atomic context they will break
unless somone remembers to also fix up the GFP flags.

Meanwhile with the existing use of gfp_any() it will work
transparently in such a situation.

I'm not applying this.
I see. Thank you for reviewing.
Thread (18 messages) 18 messages, 5 authors, last reply 2016-07-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help