Re: [PATCH 2/3] IB/core: allocate wc array statically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux