Hello, Andrew.

On Fri, Feb 22, 2013 at 2:16 PM, Andrew Morton
<a...@linux-foundation.org> wrote:
> Given that this code is performing allocations under
> spin_lock_irqsave(), it should be using idr_preload()/idr_preload_end()
> (and perhaps even a repeat loop around those) to make the allocations
> more reliable.

It's already using preload so GFP_NOWAIT is enough to guarantee
GFP_KERNEL level allocation.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to