Re: [PATCH] IB/ipoib: optimized the function ipoib_mcast_alloc

2015-11-02 Thread Erez Shitrit
On Sun, Nov 1, 2015 at 8:23 AM, Saurabh Sengar wrote: > ipoib_mcast_alloc is called only in atomic context, > hence removing the extra check. > > Signed-off-by: Saurabh Sengar Acked-by: Erez Shitrit > --- > Hi, > Even if in future, if there are some functions expected to call it in normal > c

[PATCH] IB/ipoib: optimized the function ipoib_mcast_alloc

2015-10-31 Thread Saurabh Sengar
ipoib_mcast_alloc is called only in atomic context, hence removing the extra check. Signed-off-by: Saurabh Sengar --- Hi, Even if in future, if there are some functions expected to call it in normal context(not atomic), we can pass the GFP_KERNEL or GFP_ATOMIC directly to function call instead