struct ib_wc size (was : Re: [PATCH] RDMA/core: reduce IB_POLL_BATCH constant)

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

 



On 2/20/2018 10:59 PM, Arnd Bergmann wrote:
> The ib_wc structure has grown to much that putting 16 of them on the stack
> hits the warning limit for dangerous kernel stack consumption:

is there any real reason we can't have ib_wc as 64B / one cache line? what is this reason?

> 
> drivers/infiniband/core/cq.c: In function 'ib_process_cq_direct':
> drivers/infiniband/core/cq.c:78:1: error: the frame size of 1032 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
--
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