[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175085008000.620753.10902476513418461854.b4-ty@kernel.org>
Date: Wed, 25 Jun 2025 07:14:40 -0400
From: Leon Romanovsky <leon@...nel.org>
To: Bernard Metzler <bmt@...ich.ibm.com>, Jason Gunthorpe <jgg@...pe.ca>,
Nathan Chancellor <nathan@...nel.org>, Arnd Bergmann <arnd@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>,
Nick Desaulniers <nick.desaulniers+lkml@...il.com>,
Bill Wendling <morbo@...gle.com>, Justin Stitt <justinstitt@...gle.com>,
Potnuri Bharat Teja <bharat@...lsio.com>, Showrya M N <showrya@...lsio.com>,
Eric Biggers <ebiggers@...gle.com>, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev
Subject: Re: [PATCH] RDMA/siw: work around clang stack size warning
On Fri, 20 Jun 2025 13:43:28 +0200, Arnd Bergmann wrote:
> clang inlines a lot of functions into siw_qp_sq_process(), with the
> aggregate stack frame blowing the warning limit in some configurations:
>
> drivers/infiniband/sw/siw/siw_qp_tx.c:1014:5: error: stack frame size (1544) exceeds limit (1280) in 'siw_qp_sq_process' [-Werror,-Wframe-larger-than]
>
> The real problem here is the array of kvec structures in siw_tx_hdt that
> makes up the majority of the consumed stack space.
>
> [...]
Applied, thanks!
[1/1] RDMA/siw: work around clang stack size warning
https://git.kernel.org/rdma/rdma/c/842cf5a6e35656
Best regards,
--
Leon Romanovsky <leon@...nel.org>
Powered by blists - more mailing lists