On 1/14/2018 6:22 PM, Sagi Grimberg wrote:
The poll batch is small and known at pre-proccessing time.
No need to allocate it dynamically.
Any specific reason why all CQ allocators (including userspace)
should allocate this array (as small as it is...)
For kernel allocators, I think we're ok with this approach since we
allocate it dynamically anyway.
I guess you're right regarding the user space, so we can ignore this
patch and push the other 2 or we can live with this allocation and save
few lines of code for dynamic alloc/free of wcs.
I'm good with both approaches.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html